#D58EFE#D58EFE

#D58EFE is a light, vivid violet. Relative luminance 0.406; OKLCH L 76.0% C 0.170 H 312.1°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#D58EFE
RGBrgb(213, 142, 254)
HSLhsl(278, 98%, 78%)
HSVhsv(278, 44%, 100%)
CMYKcmyk(16.1%, 44.1%, 0%, 0.4%)
CIE-LABlab(69.93, 46.27, -45.40)
CIE-LCHlch(69.93, 64.83, 315.54°)
OKLaboklab(75.97% 0.1141 -0.1261)
OKLCHoklch(75.97% 0.17 312.1)
XYZxyz(54.9999, 40.6490, 98.6954)
Luminance0.4065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D58EFE #B7FE8E
analogous
#9D8EFE #D58EFE #FE8EEF
triadic
#D58EFE #FED58E #8EFED5
tetradic
#D58EFE #FE9D8E #B7FE8E #8EEFFE
square
#D58EFE #FE9D8E #B7FE8E #8EEFFE
split-complementary
#D58EFE #EFFE8E #8EFE9D
monochromatic
#A815FD #BE51FD #D58EFE #ECCBFF #F4E1FF

Accessibility & contrast

On white

2.30
#D58EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#D58EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D58EFE
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D58EFE#FFFFFF#000000##000000
##D58EFE1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A7FF
Deuteranopia (green-blind)
#89ADFB
Tritanopia (blue-blind)
#D19FBA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d58efe;
/* rgb */ color: rgb(213, 142, 254);
/* oklch */ color: oklch(76.0% 0.170 312.1);
Tailwind
colors: {
  custom: {
    50: '#e4b0ff',
    500: '#d58efe',
    950: '#000000',
  },
}
SCSS
$custom: #d58efe;
$custom-light: #e4b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d58efe",
  "rgb": {
    "r": 213,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 278.036,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75969,
    "c": 0.17002,
    "h": 312.1
  },
  "luminance": 0.40648
}

Semantic roles & 50–950 ramp

primary
#D58EFE
secondary
#E1F7D4
accent
#E60054
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D58EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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