#D258F2#D258F2

#D258F2 is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.7% C 0.237 H 318.7°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#D258F2
RGBrgb(210, 88, 242)
HSLhsl(288, 86%, 65%)
HSVhsv(288, 64%, 95%)
CMYKcmyk(13.2%, 63.6%, 0%, 5.1%)
CIE-LABlab(59.06, 69.29, -56.02)
CIE-LCHlch(59.06, 89.10, 321.04°)
OKLaboklab(67.7% 0.1782 -0.1567)
OKLCHoklch(67.7% 0.237 318.7)
XYZxyz(46.0929, 27.0939, 86.7889)
Luminance0.2709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D258F2 #78F258
analogous
#8558F2 #D258F2 #F258C5
triadic
#D258F2 #F2D258 #58F2D2
tetradic
#D258F2 #F28558 #78F258 #58C5F2
square
#D258F2 #F28558 #78F258 #58C5F2
split-complementary
#D258F2 #C5F258 #58F285
monochromatic
#9C0FC1 #C31FEE #D258F2 #E191F6 #F1CAFB

Accessibility & contrast

On white

3.27
#D258F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#D258F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D258F2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D258F2#FFFFFF#000000##000000
##D258F21.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2686F7
Deuteranopia (green-blind)
#6192EE
Tritanopia (blue-blind)
#D2739E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d258f2;
/* rgb */ color: rgb(210, 88, 242);
/* oklch */ color: oklch(67.7% 0.237 318.7);
Tailwind
colors: {
  custom: {
    50: '#e38ff7',
    500: '#d258f2',
    950: '#000000',
  },
}
SCSS
$custom: #d258f2;
$custom-light: #e38ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#d258f2",
  "rgb": {
    "r": 210,
    "g": 88,
    "b": 242
  },
  "hsl": {
    "h": 287.532,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67701,
    "c": 0.23728,
    "h": 318.7
  },
  "luminance": 0.27092
}

Semantic roles & 50–950 ramp

primary
#D258F2
secondary
#C3EDB8
accent
#E20332
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D258F2

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

Preview Lab → · Contrast checker → · Palette generator →

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