#D238C6#D238C6

#D238C6 is a light, highly saturated purple. Relative luminance 0.206; OKLCH L 62.2% C 0.239 H 331.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#D238C6
RGBrgb(210, 56, 198)
HSLhsl(305, 63%, 52%)
HSVhsv(305, 73%, 82%)
CMYKcmyk(0%, 73.3%, 5.7%, 17.6%)
CIE-LABlab(52.52, 73.59, -41.51)
CIE-LCHlch(52.52, 84.49, 330.58°)
OKLaboklab(62.24% 0.2104 -0.1143)
OKLCHoklch(62.24% 0.239 331.5)
XYZxyz(38.1856, 20.6103, 55.3822)
Luminance0.2061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D238C6 #38D244
analogous
#9138D2 #D238C6 #D23879
triadic
#D238C6 #C6D238 #38C6D2
tetradic
#D238C6 #D29138 #38D244 #3879D2
square
#D238C6 #D29138 #38D244 #3879D2
split-complementary
#D238C6 #79D238 #38D291
monochromatic
#751A6E #A7269D #D238C6 #DD6AD4 #E99CE3

Accessibility & contrast

On white

4.10
#D238C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#D238C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D238C6
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D238C6#FFFFFF#000000##000000
##D238C61.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B70CA
Deuteranopia (green-blind)
#6985C2
Tritanopia (blue-blind)
#DB4B7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d238c6;
/* rgb */ color: rgb(210, 56, 198);
/* oklch */ color: oklch(62.2% 0.239 331.5);
Tailwind
colors: {
  custom: {
    50: '#e47ed8',
    500: '#d238c6',
    950: '#000000',
  },
}
SCSS
$custom: #d238c6;
$custom-light: #e47ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#d238c6",
  "rgb": {
    "r": 210,
    "g": 56,
    "b": 198
  },
  "hsl": {
    "h": 304.675,
    "s": 63.115,
    "l": 52.157
  },
  "oklch": {
    "l": 0.62235,
    "c": 0.23945,
    "h": 331.5
  },
  "luminance": 0.20607
}

Semantic roles & 50–950 ramp

primary
#D238C6
secondary
#91D597
accent
#E64E42
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D238C6

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

Preview Lab → · Contrast checker → · Palette generator →

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