#D234C5#D234C5

#D234C5 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.9% C 0.243 H 331.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#D234C5
RGBrgb(210, 52, 197)
HSLhsl(305, 64%, 51%)
HSVhsv(305, 75%, 82%)
CMYKcmyk(0%, 75.2%, 6.2%, 17.6%)
CIE-LABlab(52.05, 74.63, -41.67)
CIE-LCHlch(52.05, 85.48, 330.82°)
OKLaboklab(61.88% 0.2138 -0.1147)
OKLCHoklch(61.88% 0.243 331.8)
XYZxyz(37.8844, 20.1920, 54.7146)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D234C5 #34D241
analogous
#9034D2 #D234C5 #D23476
triadic
#D234C5 #C5D234 #34C5D2
tetradic
#D234C5 #D29034 #34D241 #3476D2
square
#D234C5 #D29034 #34D241 #3476D2
split-complementary
#D234C5 #76D234 #34D290
monochromatic
#72196B #A4249A #D234C5 #DD66D3 #E898E2

Accessibility & contrast

On white

4.17
#D234C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#D234C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D234C5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D234C5#FFFFFF#000000##000000
##D234C51.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#276EC9
Deuteranopia (green-blind)
#6884C1
Tritanopia (blue-blind)
#DB477B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d234c5;
/* rgb */ color: rgb(210, 52, 197);
/* oklch */ color: oklch(61.9% 0.243 331.8);
Tailwind
colors: {
  custom: {
    50: '#e47cd7',
    500: '#d234c5',
    950: '#000000',
  },
}
SCSS
$custom: #d234c5;
$custom-light: #e47cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#d234c5",
  "rgb": {
    "r": 210,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 304.937,
    "s": 63.71,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61884,
    "c": 0.24267,
    "h": 331.8
  },
  "luminance": 0.20189
}

Semantic roles & 50–950 ramp

primary
#D234C5
secondary
#8ED494
accent
#E74F41
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D234C5

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

Preview Lab → · Contrast checker → · Palette generator →

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