#D125D4#D125D4

#D125D4 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.7% C 0.265 H 327.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#D125D4
RGBrgb(209, 37, 212)
HSLhsl(299, 70%, 49%)
HSVhsv(299, 83%, 83%)
CMYKcmyk(1.4%, 82.5%, 0%, 16.9%)
CIE-LABlab(51.42, 80.42, -51.31)
CIE-LCHlch(51.42, 95.39, 327.46°)
OKLaboklab(61.67% 0.2232 -0.1427)
OKLCHoklch(61.67% 0.265 327.4)
XYZxyz(38.8392, 19.6348, 64.0189)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D125D4 #28D425
analogous
#7925D4 #D125D4 #D42580
triadic
#D125D4 #D4D125 #25D4D1
tetradic
#D125D4 #D47925 #28D425 #2580D4
square
#D125D4 #D47925 #28D425 #2580D4
split-complementary
#D125D4 #80D425 #25D479
monochromatic
#6A136C #9E1CA0 #D125D4 #DF55E1 #E989EA

Accessibility & contrast

On white

4.26
#D125D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#D125D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D125D4
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D125D4#FFFFFF#000000##000000
##D125D41.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#5982D0
Tritanopia (blue-blind)
#D74880
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d125d4;
/* rgb */ color: rgb(209, 37, 212);
/* oklch */ color: oklch(61.7% 0.265 327.4);
Tailwind
colors: {
  custom: {
    50: '#e478e2',
    500: '#d125d4',
    950: '#000000',
  },
}
SCSS
$custom: #d125d4;
$custom-light: #e478e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d125d4",
  "rgb": {
    "r": 209,
    "g": 37,
    "b": 212
  },
  "hsl": {
    "h": 298.971,
    "s": 70.281,
    "l": 48.824
  },
  "oklch": {
    "l": 0.61667,
    "c": 0.26485,
    "h": 327.4
  },
  "luminance": 0.19632
}

Semantic roles & 50–950 ramp

primary
#D125D4
secondary
#82D481
accent
#ED3B3E
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160A15
muted
#847C83

Preview Lab

Preview with #D125D4

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

Preview Lab → · Contrast checker → · Palette generator →

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