#D238D2#D238D2

#D238D2 is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.9% C 0.248 H 328.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#D238D2
RGBrgb(210, 56, 210)
HSLhsl(300, 63%, 52%)
HSVhsv(300, 73%, 82%)
CMYKcmyk(0%, 73.3%, 0%, 17.6%)
CIE-LABlab(53.15, 75.45, -47.40)
CIE-LCHlch(53.15, 89.10, 327.86°)
OKLaboklab(62.89% 0.2105 -0.1314)
OKLCHoklch(62.89% 0.248 328)
XYZxyz(39.6249, 21.1860, 62.9626)
Luminance0.2118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D238D2 #38D238
analogous
#8538D2 #D238D2 #D23885
triadic
#D238D2 #D2D238 #38D2D2
tetradic
#D238D2 #D28538 #38D238 #3885D2
square
#D238D2 #D28538 #38D238 #3885D2
split-complementary
#D238D2 #85D238 #38D285
monochromatic
#751A75 #A726A7 #D238D2 #DD6ADD #E99CE9

Accessibility & contrast

On white

4.01
#D238D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#D238D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D238D2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D238D2#FFFFFF#000000##000000
##D238D21.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1572D6
Deuteranopia (green-blind)
#6386CE
Tritanopia (blue-blind)
#D95183
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d238d2;
/* rgb */ color: rgb(210, 56, 210);
/* oklch */ color: oklch(62.9% 0.248 328.0);
Tailwind
colors: {
  custom: {
    50: '#e47ee0',
    500: '#d238d2',
    950: '#000000',
  },
}
SCSS
$custom: #d238d2;
$custom-light: #e47ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#d238d2",
  "rgb": {
    "r": 210,
    "g": 56,
    "b": 210
  },
  "hsl": {
    "h": 300,
    "s": 63.115,
    "l": 52.157
  },
  "oklch": {
    "l": 0.62892,
    "c": 0.24816,
    "h": 328
  },
  "luminance": 0.21183
}

Semantic roles & 50–950 ramp

primary
#D238D2
secondary
#91D591
accent
#E64242
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D238D2

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

Preview Lab → · Contrast checker → · Palette generator →

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