#C79EE9#C79EE9

#C79EE9 is a light, moderate violet. Relative luminance 0.425; OKLCH L 76.3% C 0.113 H 308.9°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#C79EE9
RGBrgb(199, 158, 233)
HSLhsl(273, 63%, 77%)
HSVhsv(273, 32%, 91%)
CMYKcmyk(14.6%, 32.2%, 0%, 8.6%)
CIE-LABlab(71.20, 29.07, -32.07)
CIE-LCHlch(71.20, 43.28, 312.19°)
OKLaboklab(76.32% 0.0711 -0.0882)
OKLCHoklch(76.32% 0.113 308.9)
XYZxyz(50.4853, 42.4795, 82.6148)
Luminance0.4248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C79EE9 #C0E99E
analogous
#A29EE9 #C79EE9 #E99EE6
triadic
#C79EE9 #E9C79E #9EE9C7
tetradic
#C79EE9 #E9A29E #C0E99E #9EE6E9
square
#C79EE9 #E9A29E #C0E99E #9EE6E9
split-complementary
#C79EE9 #E6E99E #9EE9A2
monochromatic
#8D3AD2 #AA6CDE #C79EE9 #E4D0F4 #F1E6F9

Accessibility & contrast

On white

2.21
#C79EE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#C79EE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C79EE9
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C79EE9#FFFFFF#000000##000000
##C79EE91.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90ACEC
Deuteranopia (green-blind)
#99AFE7
Tritanopia (blue-blind)
#C3A8B9
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c79ee9;
/* rgb */ color: rgb(199, 158, 233);
/* oklch */ color: oklch(76.3% 0.113 308.9);
Tailwind
colors: {
  custom: {
    50: '#d9bbf0',
    500: '#c79ee9',
    950: '#000000',
  },
}
SCSS
$custom: #c79ee9;
$custom-light: #d9bbf0;
$custom-dark: #000000;
JSON
{
  "hex": "#c79ee9",
  "rgb": {
    "r": 199,
    "g": 158,
    "b": 233
  },
  "hsl": {
    "h": 272.8,
    "s": 63.025,
    "l": 76.667
  },
  "oklch": {
    "l": 0.7632,
    "c": 0.11326,
    "h": 308.9
  },
  "luminance": 0.42479
}

Semantic roles & 50–950 ramp

primary
#C79EE9
secondary
#E4F1DA
accent
#CB1B6B
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #C79EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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