#D58CFB#D58CFB

#D58CFB is a light, vivid violet. Relative luminance 0.399; OKLCH L 75.5% C 0.170 H 313.2°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#D58CFB
RGBrgb(213, 140, 251)
HSLhsl(279, 93%, 77%)
HSVhsv(279, 44%, 98%)
CMYKcmyk(15.1%, 44.2%, 0%, 1.6%)
CIE-LABlab(69.38, 46.70, -44.64)
CIE-LCHlch(69.38, 64.60, 316.29°)
OKLaboklab(75.51% 0.1164 -0.1239)
OKLCHoklch(75.51% 0.17 313.2)
XYZxyz(54.2283, 39.8685, 96.0868)
Luminance0.3987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D58CFB #B2FB8C
analogous
#9E8CFB #D58CFB #FB8CEA
triadic
#D58CFB #FBD58C #8CFBD5
tetradic
#D58CFB #FB9E8C #B2FB8C #8CEAFB
square
#D58CFB #FB9E8C #B2FB8C #8CEAFB
split-complementary
#D58CFB #EAFB8C #8CFB9E
monochromatic
#AA16F7 #BF51F9 #D58CFB #EBC7FD #F4E1FE

Accessibility & contrast

On white

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

On black

8.97
#D58CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D58CFB
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D58CFB#FFFFFF#000000##000000
##D58CFB1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A5FF
Deuteranopia (green-blind)
#89ABF8
Tritanopia (blue-blind)
#D29CB8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d58cfb;
/* rgb */ color: rgb(213, 140, 251);
/* oklch */ color: oklch(75.5% 0.170 313.2);
Tailwind
colors: {
  custom: {
    50: '#e4affd',
    500: '#d58cfb',
    950: '#000000',
  },
}
SCSS
$custom: #d58cfb;
$custom-light: #e4affd;
$custom-dark: #000000;
JSON
{
  "hex": "#d58cfb",
  "rgb": {
    "r": 213,
    "g": 140,
    "b": 251
  },
  "hsl": {
    "h": 279.459,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.75511,
    "c": 0.16994,
    "h": 313.2
  },
  "luminance": 0.39867
}

Semantic roles & 50–950 ramp

primary
#D58CFB
secondary
#E0F6D5
accent
#E6004F
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #D58CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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