#BD38F2#BD38F2

#BD38F2 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 62.0% C 0.265 H 313.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#BD38F2
RGBrgb(189, 56, 242)
HSLhsl(283, 88%, 58%)
HSVhsv(283, 77%, 95%)
CMYKcmyk(21.9%, 76.9%, 0%, 5.1%)
CIE-LABlab(51.90, 77.02, -67.68)
CIE-LCHlch(51.90, 102.53, 318.69°)
OKLaboklab(62% 0.1839 -0.1913)
OKLCHoklch(62% 0.265 313.9)
XYZxyz(38.4247, 20.0593, 85.8349)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD38F2 #6DF238
analogous
#6038F2 #BD38F2 #F238CA
triadic
#BD38F2 #F2BD38 #38F2BD
tetradic
#BD38F2 #F26038 #6DF238 #38CAF2
square
#BD38F2 #F26038 #6DF238 #38CAF2
split-complementary
#BD38F2 #CAF238 #38F260
monochromatic
#790BA5 #A30FDE #BD38F2 #D071F6 #E3ABFA

Accessibility & contrast

On white

4.19
#BD38F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#BD38F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD38F2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD38F2#FFFFFF#000000##000000
##BD38F21.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F7
Deuteranopia (green-blind)
#257FEE
Tritanopia (blue-blind)
#B86495
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bd38f2;
/* rgb */ color: rgb(189, 56, 242);
/* oklch */ color: oklch(62.0% 0.265 313.9);
Tailwind
colors: {
  custom: {
    50: '#d67df7',
    500: '#bd38f2',
    950: '#000000',
  },
}
SCSS
$custom: #bd38f2;
$custom-light: #d67df7;
$custom-dark: #000000;
JSON
{
  "hex": "#bd38f2",
  "rgb": {
    "r": 189,
    "g": 56,
    "b": 242
  },
  "hsl": {
    "h": 282.903,
    "s": 87.736,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61999,
    "c": 0.26539,
    "h": 313.9
  },
  "luminance": 0.20058
}

Semantic roles & 50–950 ramp

primary
#BD38F2
secondary
#B3E89E
accent
#FE2A66
background
#FDF8FF
surface
#FBEFFF
border
#D4CAD7
text
#150B17
muted
#837C85

Preview Lab

Preview with #BD38F2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BD38F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva