#D238C8#D238C8

#D238C8 is a light, highly saturated purple. Relative luminance 0.207; OKLCH L 62.3% C 0.241 H 330.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#D238C8
RGBrgb(210, 56, 200)
HSLhsl(304, 63%, 52%)
HSVhsv(304, 73%, 82%)
CMYKcmyk(0%, 73.3%, 4.8%, 17.6%)
CIE-LABlab(52.62, 73.90, -42.50)
CIE-LCHlch(52.62, 85.25, 330.10°)
OKLaboklab(62.34% 0.2105 -0.1172)
OKLCHoklch(62.34% 0.241 330.9)
XYZxyz(38.4178, 20.7032, 56.6051)
Luminance0.2070 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D238C8 #38D242
analogous
#8F38D2 #D238C8 #D2387B
triadic
#D238C8 #C8D238 #38C8D2
tetradic
#D238C8 #D28F38 #38D242 #387BD2
square
#D238C8 #D28F38 #38D242 #387BD2
split-complementary
#D238C8 #7BD238 #38D28F
monochromatic
#751A6F #A7269F #D238C8 #DD6AD6 #E99CE4

Accessibility & contrast

On white

4.09
#D238C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#D238C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D238C8
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D238C8#FFFFFF#000000##000000
##D238C81.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2870CC
Deuteranopia (green-blind)
#6885C4
Tritanopia (blue-blind)
#DA4C7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d238c8;
/* rgb */ color: rgb(210, 56, 200);
/* oklch */ color: oklch(62.3% 0.241 330.9);
Tailwind
colors: {
  custom: {
    50: '#e47ed9',
    500: '#d238c8',
    950: '#000000',
  },
}
SCSS
$custom: #d238c8;
$custom-light: #e47ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#d238c8",
  "rgb": {
    "r": 210,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 303.896,
    "s": 63.115,
    "l": 52.157
  },
  "oklch": {
    "l": 0.62342,
    "c": 0.24088,
    "h": 330.9
  },
  "luminance": 0.207
}

Semantic roles & 50–950 ramp

primary
#D238C8
secondary
#91D596
accent
#E64C42
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B15
muted
#847C83

Preview Lab

Preview with #D238C8

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

Preview Lab → · Contrast checker → · Palette generator →

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