#BD38EA#BD38EA

#BD38EA is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.5% C 0.259 H 315.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BD38EA
RGBrgb(189, 56, 234)
HSLhsl(285, 81%, 57%)
HSVhsv(285, 76%, 92%)
CMYKcmyk(19.2%, 76.1%, 0%, 8.2%)
CIE-LABlab(51.37, 75.52, -64.05)
CIE-LCHlch(51.37, 99.02, 319.70°)
OKLaboklab(61.45% 0.1852 -0.1806)
OKLCHoklch(61.45% 0.259 315.7)
XYZxyz(37.2494, 19.5891, 79.6449)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD38EA #65EA38
analogous
#6438EA #BD38EA #EA38BE
triadic
#BD38EA #EABD38 #38EABD
tetradic
#BD38EA #EA6438 #65EA38 #38BEEA
square
#BD38EA #EA6438 #65EA38 #38BEEA
split-complementary
#BD38EA #BEEA38 #38EA64
monochromatic
#751098 #A016CF #BD38EA #CF6FF0 #E2A7F6

Accessibility & contrast

On white

4.27
#BD38EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#BD38EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD38EA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD38EA#FFFFFF#000000##000000
##BD38EA1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#337EE6
Tritanopia (blue-blind)
#BA6190
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bd38ea;
/* rgb */ color: rgb(189, 56, 234);
/* oklch */ color: oklch(61.5% 0.259 315.7);
Tailwind
colors: {
  custom: {
    50: '#d67df2',
    500: '#bd38ea',
    950: '#000000',
  },
}
SCSS
$custom: #bd38ea;
$custom-light: #d67df2;
$custom-dark: #000000;
JSON
{
  "hex": "#bd38ea",
  "rgb": {
    "r": 189,
    "g": 56,
    "b": 234
  },
  "hsl": {
    "h": 284.831,
    "s": 80.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61454,
    "c": 0.25873,
    "h": 315.7
  },
  "luminance": 0.19588
}

Semantic roles & 50–950 ramp

primary
#BD38EA
secondary
#ADE39B
accent
#F73063
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B17
muted
#837C85

Preview Lab

Preview with #BD38EA

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

Preview Lab → · Contrast checker → · Palette generator →

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