#B239DA#B239DA

#B239DA is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 59.0% C 0.240 H 316.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B239DA
RGBrgb(178, 57, 218)
HSLhsl(285, 69%, 54%)
HSVhsv(285, 74%, 85%)
CMYKcmyk(18.3%, 73.9%, 0%, 14.5%)
CIE-LABlab(48.83, 70.12, -59.16)
CIE-LCHlch(48.83, 91.75, 319.85°)
OKLaboklab(59% 0.1734 -0.1666)
OKLCHoklch(59% 0.241 316.1)
XYZxyz(32.4761, 17.4545, 67.9744)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B239DA #61DA39
analogous
#6239DA #B239DA #DA39B2
triadic
#B239DA #DAB239 #39DAB2
tetradic
#B239DA #DA6239 #61DA39 #39B2DA
square
#B239DA #DA6239 #61DA39 #39B2DA
split-complementary
#B239DA #B2DA39 #39DA62
monochromatic
#671881 #9022B4 #B239DA #C66DE4 #DAA0ED

Accessibility & contrast

On white

4.68
#B239DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#B239DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B239DA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B239DA#FFFFFF#000000##FFFFFF
##B239DA1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#3877D6
Tritanopia (blue-blind)
#AF5C87
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b239da;
/* rgb */ color: rgb(178, 57, 218);
/* oklch */ color: oklch(59.0% 0.240 316.1);
Tailwind
colors: {
  custom: {
    50: '#ce7be6',
    500: '#b239da',
    950: '#000000',
  },
}
SCSS
$custom: #b239da;
$custom-light: #ce7be6;
$custom-dark: #000000;
JSON
{
  "hex": "#b239da",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 218
  },
  "hsl": {
    "h": 285.093,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59001,
    "c": 0.2405,
    "h": 316.1
  },
  "luminance": 0.17453
}

Semantic roles & 50–950 ramp

primary
#B239DA
secondary
#A6DA95
accent
#EB3C68
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B239DA

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

Preview Lab → · Contrast checker → · Palette generator →

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