#D07FDB#D07FDB

#D07FDB is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.5% C 0.155 H 322.6°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#D07FDB
RGBrgb(208, 127, 219)
HSLhsl(293, 56%, 68%)
HSVhsv(293, 42%, 86%)
CMYKcmyk(5%, 42%, 0%, 14.1%)
CIE-LABlab(64.73, 45.70, -34.30)
CIE-LCHlch(64.73, 57.14, 323.11°)
OKLaboklab(71.45% 0.1233 -0.0942)
OKLCHoklch(71.45% 0.155 322.6)
XYZxyz(46.3866, 33.7049, 71.0664)
Luminance0.3370 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D07FDB #8ADB7F
analogous
#A27FDB #D07FDB #DB7FB8
triadic
#D07FDB #DBD07F #7FDBD0
tetradic
#D07FDB #DBA27F #8ADB7F #7FB8DB
square
#D07FDB #DBA27F #8ADB7F #7FB8DB
split-complementary
#D07FDB #B8DB7F #7FDBA2
monochromatic
#A031AF #BE4FCE #D07FDB #E2AFE8 #F3DFF6

Accessibility & contrast

On white

2.71
#D07FDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#D07FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D07FDB
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D07FDB#FFFFFF#000000##000000
##D07FDB1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7497DE
Deuteranopia (green-blind)
#8AA0D8
Tritanopia (blue-blind)
#D38AA3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d07fdb;
/* rgb */ color: rgb(208, 127, 219);
/* oklch */ color: oklch(71.5% 0.155 322.6);
Tailwind
colors: {
  custom: {
    50: '#e0a6e6',
    500: '#d07fdb',
    950: '#000000',
  },
}
SCSS
$custom: #d07fdb;
$custom-light: #e0a6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d07fdb",
  "rgb": {
    "r": 208,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 292.826,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71454,
    "c": 0.1551,
    "h": 322.6
  },
  "luminance": 0.33703
}

Semantic roles & 50–950 ramp

primary
#D07FDB
secondary
#D0E9CD
accent
#C42235
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #D07FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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