#D231E2#D231E2

#D231E2 is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 63.3% C 0.266 H 323.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#D231E2
RGBrgb(210, 49, 226)
HSLhsl(295, 75%, 54%)
HSVhsv(295, 78%, 89%)
CMYKcmyk(7.1%, 78.3%, 0%, 11.4%)
CIE-LABlab(53.38, 79.99, -56.14)
CIE-LCHlch(53.38, 97.72, 324.94°)
OKLaboklab(63.34% 0.2152 -0.1568)
OKLCHoklch(63.34% 0.266 323.9)
XYZxyz(41.4029, 21.3919, 73.8851)
Luminance0.2139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D231E2 #41E231
analogous
#7A31E2 #D231E2 #E2319A
triadic
#D231E2 #E2D231 #31E2D2
tetradic
#D231E2 #E27A31 #41E231 #319AE2
square
#D231E2 #E27A31 #41E231 #319AE2
split-complementary
#D231E2 #9AE231 #31E27A
monochromatic
#7B1386 #AD1ABB #D231E2 #DE67EA #E99CF1

Accessibility & contrast

On white

3.98
#D231E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#D231E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D231E2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D231E2#FFFFFF#000000##000000
##D231E21.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#5586DE
Tritanopia (blue-blind)
#D6558A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d231e2;
/* rgb */ color: rgb(210, 49, 226);
/* oklch */ color: oklch(63.3% 0.266 323.9);
Tailwind
colors: {
  custom: {
    50: '#e47cec',
    500: '#d231e2',
    950: '#000000',
  },
}
SCSS
$custom: #d231e2;
$custom-light: #e47cec;
$custom-dark: #000000;
JSON
{
  "hex": "#d231e2",
  "rgb": {
    "r": 210,
    "g": 49,
    "b": 226
  },
  "hsl": {
    "h": 294.576,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.63342,
    "c": 0.2663,
    "h": 323.9
  },
  "luminance": 0.21389
}

Semantic roles & 50–950 ramp

primary
#D231E2
secondary
#98DD92
accent
#F23647
background
#FEF8FE
surface
#FDEFFD
border
#D5CAD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #D231E2

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

Preview Lab → · Contrast checker → · Palette generator →

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