#D07CFE#D07CFE

#D07CFE is a light, vivid violet. Relative luminance 0.350; OKLCH L 72.7% C 0.197 H 312.3°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#D07CFE
RGBrgb(208, 124, 254)
HSLhsl(279, 98%, 74%)
HSVhsv(279, 51%, 100%)
CMYKcmyk(18.1%, 51.2%, 0%, 0.4%)
CIE-LABlab(65.73, 54.28, -52.05)
CIE-LCHlch(65.73, 75.20, 316.20°)
OKLaboklab(72.73% 0.1323 -0.1454)
OKLCHoklch(72.73% 0.197 312.3)
XYZxyz(51.1064, 34.9821, 97.8067)
Luminance0.3498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D07CFE #AAFE7C
analogous
#8F7CFE #D07CFE #FE7CEB
triadic
#D07CFE #FED07C #7CFED0
tetradic
#D07CFE #FE8F7C #AAFE7C #7CEBFE
square
#D07CFE #FE8F7C #AAFE7C #7CEBFE
split-complementary
#D07CFE #EBFE7C #7CFE8F
monochromatic
#A403FD #BA3FFE #D07CFE #E6B9FE #F4E1FF

Accessibility & contrast

On white

2.63
#D07CFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#D07CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D07CFE
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D07CFE#FFFFFF#000000##000000
##D07CFE1.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#75A2FB
Tritanopia (blue-blind)
#CB91B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d07cfe;
/* rgb */ color: rgb(208, 124, 254);
/* oklch */ color: oklch(72.7% 0.197 312.3);
Tailwind
colors: {
  custom: {
    50: '#e1a4ff',
    500: '#d07cfe',
    950: '#000000',
  },
}
SCSS
$custom: #d07cfe;
$custom-light: #e1a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d07cfe",
  "rgb": {
    "r": 208,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 278.769,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72728,
    "c": 0.1966,
    "h": 312.3
  },
  "luminance": 0.34981
}

Semantic roles & 50–950 ramp

primary
#D07CFE
secondary
#E0F7D4
accent
#E60051
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D07CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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