#D237E2#D237E2

#D237E2 is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 63.7% C 0.261 H 323.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#D237E2
RGBrgb(210, 55, 226)
HSLhsl(294, 75%, 55%)
HSVhsv(294, 76%, 89%)
CMYKcmyk(7.1%, 75.7%, 0%, 11.4%)
CIE-LABlab(53.95, 78.33, -55.22)
CIE-LCHlch(53.95, 95.84, 324.82°)
OKLaboklab(63.75% 0.2107 -0.1541)
OKLCHoklch(63.75% 0.261 323.8)
XYZxyz(41.6708, 21.9276, 73.9744)
Luminance0.2193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D237E2 #47E237
analogous
#7D37E2 #D237E2 #E2379C
triadic
#D237E2 #E2D237 #37E2D2
tetradic
#D237E2 #E27D37 #47E237 #379CE2
square
#D237E2 #E27D37 #47E237 #379CE2
split-complementary
#D237E2 #9CE237 #37E27D
monochromatic
#7F148B #B11CC0 #D237E2 #DE6CEA #EAA2F2

Accessibility & contrast

On white

3.90
#D237E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#D237E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D237E2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D237E2#FFFFFF#000000##000000
##D237E21.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#5787DE
Tritanopia (blue-blind)
#D6588C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d237e2;
/* rgb */ color: rgb(210, 55, 226);
/* oklch */ color: oklch(63.7% 0.261 323.8);
Tailwind
colors: {
  custom: {
    50: '#e47fec',
    500: '#d237e2',
    950: '#000000',
  },
}
SCSS
$custom: #d237e2;
$custom-light: #e47fec;
$custom-dark: #000000;
JSON
{
  "hex": "#d237e2",
  "rgb": {
    "r": 210,
    "g": 55,
    "b": 226
  },
  "hsl": {
    "h": 294.386,
    "s": 74.672,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63749,
    "c": 0.26107,
    "h": 323.8
  },
  "luminance": 0.21925
}

Semantic roles & 50–950 ramp

primary
#D237E2
secondary
#9DDE97
accent
#F13748
background
#FEF8FE
surface
#FDEFFD
border
#D5CAD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #D237E2

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

Preview Lab → · Contrast checker → · Palette generator →

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