#D234D2#D234D2

#D234D2 is a light, highly saturated purple. Relative luminance 0.208; OKLCH L 62.6% C 0.252 H 328.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#D234D2
RGBrgb(210, 52, 210)
HSLhsl(300, 64%, 51%)
HSVhsv(300, 75%, 82%)
CMYKcmyk(0%, 75.2%, 0%, 17.6%)
CIE-LABlab(52.74, 76.62, -48.04)
CIE-LCHlch(52.74, 90.44, 327.91°)
OKLaboklab(62.6% 0.2139 -0.1332)
OKLCHoklch(62.6% 0.252 328.1)
XYZxyz(39.4387, 20.8137, 62.9005)
Luminance0.2081 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D234D2 #34D234
analogous
#8334D2 #D234D2 #D23483
triadic
#D234D2 #D2D234 #34D2D2
tetradic
#D234D2 #D28334 #34D234 #3483D2
square
#D234D2 #D28334 #34D234 #3483D2
split-complementary
#D234D2 #83D234 #34D283
monochromatic
#721972 #A424A4 #D234D2 #DD66DD #E898E8

Accessibility & contrast

On white

4.07
#D234D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#D234D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D234D2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D234D2#FFFFFF#000000##000000
##D234D21.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0771D6
Deuteranopia (green-blind)
#6185CE
Tritanopia (blue-blind)
#D94E82
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d234d2;
/* rgb */ color: rgb(210, 52, 210);
/* oklch */ color: oklch(62.6% 0.252 328.1);
Tailwind
colors: {
  custom: {
    50: '#e47de0',
    500: '#d234d2',
    950: '#000000',
  },
}
SCSS
$custom: #d234d2;
$custom-light: #e47de0;
$custom-dark: #000000;
JSON
{
  "hex": "#d234d2",
  "rgb": {
    "r": 210,
    "g": 52,
    "b": 210
  },
  "hsl": {
    "h": 300,
    "s": 63.71,
    "l": 51.373
  },
  "oklch": {
    "l": 0.62601,
    "c": 0.25195,
    "h": 328.1
  },
  "luminance": 0.20811
}

Semantic roles & 50–950 ramp

primary
#D234D2
secondary
#8ED48E
accent
#E74141
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D234D2

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

Preview Lab → · Contrast checker → · Palette generator →

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