#D58EF2#D58EF2

#D58EF2 is a light, vivid purple. Relative luminance 0.399; OKLCH L 75.4% C 0.157 H 315.6°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#D58EF2
RGBrgb(213, 142, 242)
HSLhsl(283, 79%, 75%)
HSVhsv(283, 41%, 95%)
CMYKcmyk(12%, 41.3%, 0%, 5.1%)
CIE-LABlab(69.40, 43.79, -39.68)
CIE-LCHlch(69.40, 59.09, 317.82°)
OKLaboklab(75.4% 0.112 -0.1096)
OKLCHoklch(75.4% 0.157 315.6)
XYZxyz(53.1381, 39.9043, 88.8903)
Luminance0.3990 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D58EF2 #ABF28E
analogous
#A38EF2 #D58EF2 #F28EDD
triadic
#D58EF2 #F2D58E #8EF2D5
tetradic
#D58EF2 #F2A38E #ABF28E #8EDDF2
square
#D58EF2 #F2A38E #ABF28E #8EDDF2
split-complementary
#D58EF2 #DDF28E #8EF2A3
monochromatic
#AC20E5 #C157EC #D58EF2 #E9C5F8 #F5E4FC

Accessibility & contrast

On white

2.34
#D58EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#D58EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D58EF2
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D58EF2#FFFFFF#000000##000000
##D58EF21.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA5F6
Deuteranopia (green-blind)
#8FACEF
Tritanopia (blue-blind)
#D49CB5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d58ef2;
/* rgb */ color: rgb(213, 142, 242);
/* oklch */ color: oklch(75.4% 0.157 315.6);
Tailwind
colors: {
  custom: {
    50: '#e3b0f6',
    500: '#d58ef2',
    950: '#000000',
  },
}
SCSS
$custom: #d58ef2;
$custom-light: #e3b0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d58ef2",
  "rgb": {
    "r": 213,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 282.6,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.754,
    "c": 0.1567,
    "h": 315.6
  },
  "luminance": 0.39903
}

Semantic roles & 50–950 ramp

primary
#D58EF2
secondary
#E0F4D7
accent
#DC0A47
background
#FEFAFF
surface
#FCF5FE
border
#D5CFD6
text
#161117
muted
#848085

Preview Lab

Preview with #D58EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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