#D258F7#D258F7

#D258F7 is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 68.0% C 0.242 H 317.4°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#D258F7
RGBrgb(210, 88, 247)
HSLhsl(286, 91%, 66%)
HSVhsv(286, 64%, 97%)
CMYKcmyk(15%, 64.4%, 0%, 3.1%)
CIE-LABlab(59.34, 70.23, -58.35)
CIE-LCHlch(59.34, 91.31, 320.28°)
OKLaboklab(67.99% 0.1781 -0.1635)
OKLCHoklch(67.99% 0.242 317.4)
XYZxyz(46.8542, 27.3984, 90.7980)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D258F7 #7DF758
analogous
#8258F7 #D258F7 #F758CC
triadic
#D258F7 #F7D258 #58F7D2
tetradic
#D258F7 #F78258 #7DF758 #58CCF7
square
#D258F7 #F78258 #7DF758 #58CCF7
split-complementary
#D258F7 #CCF758 #58F782
monochromatic
#9E0ACB #C21EF4 #D258F7 #E292FA #F1CDFD

Accessibility & contrast

On white

3.24
#D258F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#D258F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D258F7
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D258F7#FFFFFF#000000##000000
##D258F71.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A87FC
Deuteranopia (green-blind)
#5D93F3
Tritanopia (blue-blind)
#D175A0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d258f7;
/* rgb */ color: rgb(210, 88, 247);
/* oklch */ color: oklch(68.0% 0.242 317.4);
Tailwind
colors: {
  custom: {
    50: '#e48ffa',
    500: '#d258f7',
    950: '#000000',
  },
}
SCSS
$custom: #d258f7;
$custom-light: #e48ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#d258f7",
  "rgb": {
    "r": 210,
    "g": 88,
    "b": 247
  },
  "hsl": {
    "h": 286.038,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67993,
    "c": 0.24177,
    "h": 317.4
  },
  "luminance": 0.27396
}

Semantic roles & 50–950 ramp

primary
#D258F7
secondary
#C7F0BB
accent
#E60035
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D258F7

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

Preview Lab → · Contrast checker → · Palette generator →

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