#C79EFD#C79EFD

#C79EFD is a light, vivid violet. Relative luminance 0.437; OKLCH L 77.2% C 0.138 H 303.2°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#C79EFD
RGBrgb(199, 158, 253)
HSLhsl(266, 96%, 81%)
HSVhsv(266, 38%, 99%)
CMYKcmyk(21.3%, 37.5%, 0%, 0.8%)
CIE-LABlab(72.02, 33.46, -41.69)
CIE-LCHlch(72.02, 53.45, 308.75°)
OKLaboklab(77.21% 0.0757 -0.1157)
OKLCHoklch(77.21% 0.138 303.2)
XYZxyz(53.5059, 43.6878, 98.5232)
Luminance0.4369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C79EFD #D4FD9E
analogous
#9EA4FD #C79EFD #F79EFD
triadic
#C79EFD #FDC79E #9EFDC7
tetradic
#C79EFD #FD9EA4 #D4FD9E #9EFDF7
square
#C79EFD #FD9EA4 #D4FD9E #9EFDF7
split-complementary
#C79EFD #FDF79E #A4FD9E
monochromatic
#8226FB #A462FC #C79EFD #EADAFE #EEE1FE

Accessibility & contrast

On white

2.16
#C79EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#C79EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C79EFD
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C79EFD#FFFFFF#000000##000000
##C79EFD1.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#88B0FF
Deuteranopia (green-blind)
#90B0FA
Tritanopia (blue-blind)
#BEADC2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c79efd;
/* rgb */ color: rgb(199, 158, 253);
/* oklch */ color: oklch(77.2% 0.138 303.2);
Tailwind
colors: {
  custom: {
    50: '#d9bbfe',
    500: '#c79efd',
    950: '#000000',
  },
}
SCSS
$custom: #c79efd;
$custom-light: #d9bbfe;
$custom-dark: #000000;
JSON
{
  "hex": "#c79efd",
  "rgb": {
    "r": 199,
    "g": 158,
    "b": 253
  },
  "hsl": {
    "h": 265.895,
    "s": 95.96,
    "l": 80.588
  },
  "oklch": {
    "l": 0.77212,
    "c": 0.13825,
    "h": 303.2
  },
  "luminance": 0.43688
}

Semantic roles & 50–950 ramp

primary
#C79EFD
secondary
#E8F7D4
accent
#E60082
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #C79EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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