#D238D1#D238D1

#D238D1 is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.8% C 0.247 H 328.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#D238D1
RGBrgb(210, 56, 209)
HSLhsl(300, 63%, 52%)
HSVhsv(300, 73%, 82%)
CMYKcmyk(0%, 73.3%, 0.5%, 17.6%)
CIE-LABlab(53.10, 75.29, -46.91)
CIE-LCHlch(53.10, 88.71, 328.08°)
OKLaboklab(62.84% 0.2106 -0.1299)
OKLCHoklch(62.84% 0.247 328.3)
XYZxyz(39.5007, 21.1363, 62.3085)
Luminance0.2113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D238D1 #38D239
analogous
#8638D2 #D238D1 #D23884
triadic
#D238D1 #D1D238 #38D1D2
tetradic
#D238D1 #D28638 #38D239 #3884D2
square
#D238D1 #D28638 #38D239 #3884D2
split-complementary
#D238D1 #84D238 #38D286
monochromatic
#751A75 #A726A6 #D238D1 #DD6ADD #E99CE8

Accessibility & contrast

On white

4.02
#D238D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#D238D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D238D1
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D238D1#FFFFFF#000000##000000
##D238D11.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1872D5
Deuteranopia (green-blind)
#6386CD
Tritanopia (blue-blind)
#D95082
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d238d1;
/* rgb */ color: rgb(210, 56, 209);
/* oklch */ color: oklch(62.8% 0.247 328.3);
Tailwind
colors: {
  custom: {
    50: '#e47ee0',
    500: '#d238d1',
    950: '#000000',
  },
}
SCSS
$custom: #d238d1;
$custom-light: #e47ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#d238d1",
  "rgb": {
    "r": 210,
    "g": 56,
    "b": 209
  },
  "hsl": {
    "h": 300.39,
    "s": 63.115,
    "l": 52.157
  },
  "oklch": {
    "l": 0.62836,
    "c": 0.24742,
    "h": 328.3
  },
  "luminance": 0.21133
}

Semantic roles & 50–950 ramp

primary
#D238D1
secondary
#91D592
accent
#E64342
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D238D1

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

Preview Lab → · Contrast checker → · Palette generator →

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