#D07CEB#D07CEB

#D07CEB is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.8% C 0.177 H 317.5°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#D07CEB
RGBrgb(208, 124, 235)
HSLhsl(285, 74%, 70%)
HSVhsv(285, 47%, 92%)
CMYKcmyk(11.5%, 47.2%, 0%, 7.8%)
CIE-LABlab(64.82, 50.38, -43.03)
CIE-LCHlch(64.82, 66.26, 319.50°)
OKLaboklab(71.76% 0.1301 -0.1192)
OKLCHoklch(71.76% 0.177 317.5)
XYZxyz(48.2134, 33.8249, 82.5703)
Luminance0.3382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D07CEB #97EB7C
analogous
#987CEB #D07CEB #EB7CCF
triadic
#D07CEB #EBD07C #7CEBD0
tetradic
#D07CEB #EB987C #97EB7C #7CCFEB
square
#D07CEB #EB987C #97EB7C #7CCFEB
split-complementary
#D07CEB #CFEB7C #7CEB98
monochromatic
#A31FCD #BD47E3 #D07CEB #E3B1F3 #F5E4FB

Accessibility & contrast

On white

2.70
#D07CEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#D07CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D07CEB
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D07CEB#FFFFFF#000000##000000
##D07CEB1.002.707.767.76
#FFFFFF2.701.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898EF
Deuteranopia (green-blind)
#80A0E8
Tritanopia (blue-blind)
#D08CA9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d07ceb;
/* rgb */ color: rgb(208, 124, 235);
/* oklch */ color: oklch(71.8% 0.177 317.5);
Tailwind
colors: {
  custom: {
    50: '#e0a4f2',
    500: '#d07ceb',
    950: '#000000',
  },
}
SCSS
$custom: #d07ceb;
$custom-light: #e0a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d07ceb",
  "rgb": {
    "r": 208,
    "g": 124,
    "b": 235
  },
  "hsl": {
    "h": 285.405,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71756,
    "c": 0.17651,
    "h": 317.5
  },
  "luminance": 0.33823
}

Semantic roles & 50–950 ramp

primary
#D07CEB
secondary
#DAF1D2
accent
#D61040
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#150F17
muted
#847F85

Preview Lab

Preview with #D07CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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