#D238C5#D238C5

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

Color values

HEX#D238C5
RGBrgb(210, 56, 197)
HSLhsl(305, 63%, 52%)
HSVhsv(305, 73%, 82%)
CMYKcmyk(0%, 73.3%, 6.2%, 17.6%)
CIE-LABlab(52.47, 73.44, -41.01)
CIE-LCHlch(52.47, 84.12, 330.82°)
OKLaboklab(62.18% 0.2104 -0.1129)
OKLCHoklch(62.18% 0.239 331.8)
XYZxyz(38.0706, 20.5643, 54.7767)
Luminance0.2056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D238C5 #38D245
analogous
#9238D2 #D238C5 #D23878
triadic
#D238C5 #C5D238 #38C5D2
tetradic
#D238C5 #D29238 #38D245 #3878D2
square
#D238C5 #D29238 #38D245 #3878D2
split-complementary
#D238C5 #78D238 #38D292
monochromatic
#751A6D #A7269C #D238C5 #DD6AD4 #E99CE2

Accessibility & contrast

On white

4.11
#D238C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#D238C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D238C5
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D238C5#FFFFFF#000000##000000
##D238C51.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C6FC9
Deuteranopia (green-blind)
#6A85C1
Tritanopia (blue-blind)
#DB4A7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d238c5;
/* rgb */ color: rgb(210, 56, 197);
/* oklch */ color: oklch(62.2% 0.239 331.8);
Tailwind
colors: {
  custom: {
    50: '#e47ed7',
    500: '#d238c5',
    950: '#000000',
  },
}
SCSS
$custom: #d238c5;
$custom-light: #e47ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#d238c5",
  "rgb": {
    "r": 210,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 305.065,
    "s": 63.115,
    "l": 52.157
  },
  "oklch": {
    "l": 0.62182,
    "c": 0.23874,
    "h": 331.8
  },
  "luminance": 0.20561
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D238C5

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

Preview Lab → · Contrast checker → · Palette generator →

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