#C79FEE#C79FEE

#C79FEE is a light, moderate violet. Relative luminance 0.431; OKLCH L 76.7% C 0.118 H 307.0°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#C79FEE
RGBrgb(199, 159, 238)
HSLhsl(270, 70%, 78%)
HSVhsv(270, 33%, 93%)
CMYKcmyk(16.4%, 33.2%, 0%, 6.7%)
CIE-LABlab(71.63, 29.59, -34.13)
CIE-LCHlch(71.63, 45.18, 310.92°)
OKLaboklab(76.71% 0.0709 -0.094)
OKLCHoklch(76.71% 0.118 307)
XYZxyz(51.3810, 43.1118, 86.4869)
Luminance0.4311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C79FEE #C6EE9F
analogous
#9F9FEE #C79FEE #EE9FED
triadic
#C79FEE #EEC79F #9FEEC7
tetradic
#C79FEE #EE9F9F #C6EE9F #9FEDEE
square
#C79FEE #EE9F9F #C6EE9F #9FEDEE
split-complementary
#C79FEE #EDEE9F #9FEE9F
monochromatic
#8A37DC #A96BE5 #C79FEE #E5D3F7 #F0E5FA

Accessibility & contrast

On white

2.18
#C79FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#C79FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C79FEE
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C79FEE#FFFFFF#000000##000000
##C79FEE1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAEF1
Deuteranopia (green-blind)
#98B0EC
Tritanopia (blue-blind)
#C2AABC
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c79fee;
/* rgb */ color: rgb(199, 159, 238);
/* oklch */ color: oklch(76.7% 0.118 307.0);
Tailwind
colors: {
  custom: {
    50: '#d9bbf3',
    500: '#c79fee',
    950: '#000000',
  },
}
SCSS
$custom: #c79fee;
$custom-light: #d9bbf3;
$custom-dark: #000000;
JSON
{
  "hex": "#c79fee",
  "rgb": {
    "r": 199,
    "g": 159,
    "b": 238
  },
  "hsl": {
    "h": 270.38,
    "s": 69.912,
    "l": 77.843
  },
  "oklch": {
    "l": 0.76713,
    "c": 0.11777,
    "h": 307
  },
  "luminance": 0.43111
}

Semantic roles & 50–950 ramp

primary
#C79FEE
secondary
#E5F2D9
accent
#D21472
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #C79FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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