#D07FFC#D07FFC

#D07FFC is a light, vivid violet. Relative luminance 0.356; OKLCH L 73.1% C 0.190 H 312.5°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#D07FFC
RGBrgb(208, 127, 252)
HSLhsl(279, 95%, 74%)
HSVhsv(279, 50%, 99%)
CMYKcmyk(17.5%, 49.6%, 0%, 1.2%)
CIE-LABlab(66.23, 52.32, -50.18)
CIE-LCHlch(66.23, 72.49, 316.20°)
OKLaboklab(73.06% 0.1282 -0.14)
OKLCHoklch(73.06% 0.19 312.5)
XYZxyz(51.1694, 35.6181, 96.2560)
Luminance0.3562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D07FFC #ABFC7F
analogous
#927FFC #D07FFC #FC7FEA
triadic
#D07FFC #FCD07F #7FFCD0
tetradic
#D07FFC #FC927F #ABFC7F #7FEAFC
square
#D07FFC #FC927F #ABFC7F #7FEAFC
split-complementary
#D07FFC #EAFC7F #7FFC92
monochromatic
#A407F9 #BA43FB #D07FFC #E6BBFD #F4E1FE

Accessibility & contrast

On white

2.59
#D07FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#D07FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D07FFC
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D07FFC#FFFFFF#000000##000000
##D07FFC1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#79A3F9
Tritanopia (blue-blind)
#CC93B2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d07ffc;
/* rgb */ color: rgb(208, 127, 252);
/* oklch */ color: oklch(73.1% 0.190 312.5);
Tailwind
colors: {
  custom: {
    50: '#e1a6fe',
    500: '#d07ffc',
    950: '#000000',
  },
}
SCSS
$custom: #d07ffc;
$custom-light: #e1a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d07ffc",
  "rgb": {
    "r": 208,
    "g": 127,
    "b": 252
  },
  "hsl": {
    "h": 278.88,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.7306,
    "c": 0.1898,
    "h": 312.5
  },
  "luminance": 0.35617
}

Semantic roles & 50–950 ramp

primary
#D07FFC
secondary
#E0F7D4
accent
#E60051
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D07FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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