#D58DFE#D58DFE

#D58DFE is a light, vivid violet. Relative luminance 0.404; OKLCH L 75.8% C 0.172 H 312.3°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#D58DFE
RGBrgb(213, 141, 254)
HSLhsl(278, 98%, 77%)
HSVhsv(278, 44%, 100%)
CMYKcmyk(16.1%, 44.5%, 0%, 0.4%)
CIE-LABlab(69.72, 46.80, -45.73)
CIE-LCHlch(69.72, 65.43, 315.66°)
OKLaboklab(75.81% 0.1154 -0.127)
OKLCHoklch(75.81% 0.172 312.3)
XYZxyz(54.8518, 40.3527, 98.6460)
Luminance0.4035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D58DFE #B6FE8D
analogous
#9C8DFE #D58DFE #FE8DEF
triadic
#D58DFE #FED58D #8DFED5
tetradic
#D58DFE #FE9C8D #B6FE8D #8DEFFE
square
#D58DFE #FE9C8D #B6FE8D #8DEFFE
split-complementary
#D58DFE #EFFE8D #8DFE9C
monochromatic
#A814FD #BF50FD #D58DFE #EBCAFF #F4E1FF

Accessibility & contrast

On white

2.32
#D58DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#D58DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D58DFE
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D58DFE#FFFFFF#000000##000000
##D58DFE1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A7FF
Deuteranopia (green-blind)
#88ACFB
Tritanopia (blue-blind)
#D19EBA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d58dfe;
/* rgb */ color: rgb(213, 141, 254);
/* oklch */ color: oklch(75.8% 0.172 312.3);
Tailwind
colors: {
  custom: {
    50: '#e4b0ff',
    500: '#d58dfe',
    950: '#000000',
  },
}
SCSS
$custom: #d58dfe;
$custom-light: #e4b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d58dfe",
  "rgb": {
    "r": 213,
    "g": 141,
    "b": 254
  },
  "hsl": {
    "h": 278.23,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75813,
    "c": 0.17164,
    "h": 312.3
  },
  "luminance": 0.40352
}

Semantic roles & 50–950 ramp

primary
#D58DFE
secondary
#E1F7D4
accent
#E60053
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161118
muted
#848086

Preview Lab

Preview with #D58DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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