#D07CFC#D07CFC

#D07CFC is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.6% C 0.194 H 312.8°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#D07CFC
RGBrgb(208, 124, 252)
HSLhsl(279, 96%, 74%)
HSVhsv(279, 51%, 99%)
CMYKcmyk(17.5%, 50.8%, 0%, 1.2%)
CIE-LABlab(65.64, 53.86, -51.11)
CIE-LCHlch(65.64, 74.25, 316.50°)
OKLaboklab(72.62% 0.1322 -0.1427)
OKLCHoklch(72.62% 0.194 312.8)
XYZxyz(50.7878, 34.8547, 96.1288)
Luminance0.3485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D07CFC #A8FC7C
analogous
#907CFC #D07CFC #FC7CE8
triadic
#D07CFC #FCD07C #7CFCD0
tetradic
#D07CFC #FC907C #A8FC7C #7CE8FC
square
#D07CFC #FC907C #A8FC7C #7CE8FC
split-complementary
#D07CFC #E8FC7C #7CFC90
monochromatic
#A506F8 #BB40FB #D07CFC #E5B8FD #F4E1FE

Accessibility & contrast

On white

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

On black

7.97
#D07CFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D07CFC
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D07CFC#FFFFFF#000000##000000
##D07CFC1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#77A1F9
Tritanopia (blue-blind)
#CC91B1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d07cfc;
/* rgb */ color: rgb(208, 124, 252);
/* oklch */ color: oklch(72.6% 0.194 312.8);
Tailwind
colors: {
  custom: {
    50: '#e1a4fe',
    500: '#d07cfc',
    950: '#000000',
  },
}
SCSS
$custom: #d07cfc;
$custom-light: #e1a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d07cfc",
  "rgb": {
    "r": 208,
    "g": 124,
    "b": 252
  },
  "hsl": {
    "h": 279.375,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72622,
    "c": 0.19447,
    "h": 312.8
  },
  "luminance": 0.34853
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D07CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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