#C79DFD#C79DFD

#C79DFD is a light, vivid violet. Relative luminance 0.433; OKLCH L 77.0% C 0.140 H 303.4°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#C79DFD
RGBrgb(199, 157, 253)
HSLhsl(266, 96%, 80%)
HSVhsv(266, 38%, 99%)
CMYKcmyk(21.3%, 37.9%, 0%, 0.8%)
CIE-LABlab(71.79, 34.00, -42.04)
CIE-LCHlch(71.79, 54.07, 308.96°)
OKLaboklab(77.04% 0.077 -0.1167)
OKLCHoklch(77.04% 0.14 303.4)
XYZxyz(53.3361, 43.3480, 98.4666)
Luminance0.4335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C79DFD #D3FD9D
analogous
#9DA3FD #C79DFD #F79DFD
triadic
#C79DFD #FDC79D #9DFDC7
tetradic
#C79DFD #FD9DA3 #D3FD9D #9DFDF7
square
#C79DFD #FD9DA3 #D3FD9D #9DFDF7
split-complementary
#C79DFD #FDF79D #A3FD9D
monochromatic
#8225FB #A561FC #C79DFD #E9D9FE #EEE1FE

Accessibility & contrast

On white

2.17
#C79DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#C79DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C79DFD
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C79DFD#FFFFFF#000000##000000
##C79DFD1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AFFF
Deuteranopia (green-blind)
#8FB0FA
Tritanopia (blue-blind)
#BEACC1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c79dfd;
/* rgb */ color: rgb(199, 157, 253);
/* oklch */ color: oklch(77.0% 0.140 303.4);
Tailwind
colors: {
  custom: {
    50: '#d9bafe',
    500: '#c79dfd',
    950: '#000000',
  },
}
SCSS
$custom: #c79dfd;
$custom-light: #d9bafe;
$custom-dark: #000000;
JSON
{
  "hex": "#c79dfd",
  "rgb": {
    "r": 199,
    "g": 157,
    "b": 253
  },
  "hsl": {
    "h": 266.25,
    "s": 96,
    "l": 80.392
  },
  "oklch": {
    "l": 0.77039,
    "c": 0.13986,
    "h": 303.4
  },
  "luminance": 0.43348
}

Semantic roles & 50–950 ramp

primary
#C79DFD
secondary
#E8F7D4
accent
#E60081
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #C79DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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