#D258F3#D258F3

#D258F3 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.8% C 0.238 H 318.4°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#D258F3
RGBrgb(210, 88, 243)
HSLhsl(287, 87%, 65%)
HSVhsv(287, 64%, 95%)
CMYKcmyk(13.6%, 63.8%, 0%, 4.7%)
CIE-LABlab(59.12, 69.48, -56.49)
CIE-LCHlch(59.12, 89.54, 320.89°)
OKLaboklab(67.76% 0.1782 -0.1581)
OKLCHoklch(67.76% 0.238 318.4)
XYZxyz(46.2435, 27.1541, 87.5820)
Luminance0.2715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D258F3 #79F358
analogous
#8558F3 #D258F3 #F358C6
triadic
#D258F3 #F3D258 #58F3D2
tetradic
#D258F3 #F38558 #79F358 #58C6F3
square
#D258F3 #F38558 #79F358 #58C6F3
split-complementary
#D258F3 #C6F358 #58F385
monochromatic
#9C0EC3 #C31FEF #D258F3 #E191F7 #F1CAFB

Accessibility & contrast

On white

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

On black

6.43
#D258F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D258F3
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D258F3#FFFFFF#000000##000000
##D258F31.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2486F8
Deuteranopia (green-blind)
#6092EF
Tritanopia (blue-blind)
#D2739E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d258f3;
/* rgb */ color: rgb(210, 88, 243);
/* oklch */ color: oklch(67.8% 0.238 318.4);
Tailwind
colors: {
  custom: {
    50: '#e38ff8',
    500: '#d258f3',
    950: '#000000',
  },
}
SCSS
$custom: #d258f3;
$custom-light: #e38ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#d258f3",
  "rgb": {
    "r": 210,
    "g": 88,
    "b": 243
  },
  "hsl": {
    "h": 287.226,
    "s": 86.592,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67759,
    "c": 0.23817,
    "h": 318.4
  },
  "luminance": 0.27152
}

Semantic roles & 50–950 ramp

primary
#D258F3
secondary
#C4EEB9
accent
#E30232
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D258F3

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

Preview Lab → · Contrast checker → · Palette generator →

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