#D058F7#D058F7

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

Color values

HEX#D058F7
RGBrgb(208, 88, 247)
HSLhsl(285, 91%, 66%)
HSVhsv(285, 64%, 97%)
CMYKcmyk(15.8%, 64.4%, 0%, 3.1%)
CIE-LABlab(59.07, 69.79, -58.80)
CIE-LCHlch(59.07, 91.26, 319.89°)
OKLaboklab(67.74% 0.1757 -0.1649)
OKLCHoklch(67.74% 0.241 316.8)
XYZxyz(46.2882, 27.1066, 90.7715)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D058F7 #7FF758
analogous
#8058F7 #D058F7 #F758CE
triadic
#D058F7 #F7D058 #58F7D0
tetradic
#D058F7 #F78058 #7FF758 #58CEF7
square
#D058F7 #F78058 #7FF758 #58CEF7
split-complementary
#D058F7 #CEF758 #58F780
monochromatic
#9C0ACB #C01EF4 #D058F7 #E092FA #F1CDFD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D058F7#FFFFFF#000000##000000
##D058F71.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)
#1687FC
Deuteranopia (green-blind)
#5B92F3
Tritanopia (blue-blind)
#CE75A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d058f7;
/* rgb */ color: rgb(208, 88, 247);
/* oklch */ color: oklch(67.7% 0.241 316.8);
Tailwind
colors: {
  custom: {
    50: '#e28ffa',
    500: '#d058f7',
    950: '#000000',
  },
}
SCSS
$custom: #d058f7;
$custom-light: #e28ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#d058f7",
  "rgb": {
    "r": 208,
    "g": 88,
    "b": 247
  },
  "hsl": {
    "h": 285.283,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67744,
    "c": 0.24098,
    "h": 316.8
  },
  "luminance": 0.27105
}

Semantic roles & 50–950 ramp

primary
#D058F7
secondary
#C8F0BB
accent
#E60038
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D058F7

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

Preview Lab → · Contrast checker → · Palette generator →

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