#D058F2#D058F2

#D058F2 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.5% C 0.236 H 318.0°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#D058F2
RGBrgb(208, 88, 242)
HSLhsl(287, 86%, 65%)
HSVhsv(287, 64%, 95%)
CMYKcmyk(14%, 63.6%, 0%, 5.1%)
CIE-LABlab(58.79, 68.84, -56.47)
CIE-LCHlch(58.79, 89.04, 320.64°)
OKLaboklab(67.45% 0.1759 -0.1581)
OKLCHoklch(67.45% 0.236 318)
XYZxyz(45.5269, 26.8021, 86.7624)
Luminance0.2680 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D058F2 #7AF258
analogous
#8358F2 #D058F2 #F258C7
triadic
#D058F2 #F2D058 #58F2D0
tetradic
#D058F2 #F28358 #7AF258 #58C7F2
square
#D058F2 #F28358 #7AF258 #58C7F2
split-complementary
#D058F2 #C7F258 #58F283
monochromatic
#990FC1 #C01FEE #D058F2 #E091F6 #F0CAFB

Accessibility & contrast

On white

3.30
#D058F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#D058F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D058F2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D058F2#FFFFFF#000000##000000
##D058F21.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2386F7
Deuteranopia (green-blind)
#5F91EE
Tritanopia (blue-blind)
#CF739E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d058f2;
/* rgb */ color: rgb(208, 88, 242);
/* oklch */ color: oklch(67.5% 0.236 318.0);
Tailwind
colors: {
  custom: {
    50: '#e28ff7',
    500: '#d058f2',
    950: '#000000',
  },
}
SCSS
$custom: #d058f2;
$custom-light: #e28ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#d058f2",
  "rgb": {
    "r": 208,
    "g": 88,
    "b": 242
  },
  "hsl": {
    "h": 286.753,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6745,
    "c": 0.23646,
    "h": 318
  },
  "luminance": 0.268
}

Semantic roles & 50–950 ramp

primary
#D058F2
secondary
#C4EDB8
accent
#E20335
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D058F2

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

Preview Lab → · Contrast checker → · Palette generator →

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