Lavender (survey)#C79FEF

#C79FEF is a light, moderate violet. Relative luminance 0.432; OKLCH L 76.8% C 0.119 H 306.7°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Lavender (survey) — editorial page

Color values

HEX#C79FEF
RGBrgb(199, 159, 239)
HSLhsl(270, 71%, 78%)
HSVhsv(270, 33%, 94%)
CMYKcmyk(16.7%, 33.5%, 0%, 6.3%)
CIE-LABlab(71.67, 29.81, -34.62)
CIE-LCHlch(71.67, 45.68, 310.73°)
OKLaboklab(76.76% 0.0711 -0.0954)
OKLCHoklch(76.76% 0.119 306.7)
XYZxyz(51.5283, 43.1707, 87.2628)
Luminance0.4317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C79FEF #C7EF9F
analogous
#9F9FEF #C79FEF #EF9FEF
triadic
#C79FEF #EFC79F #9FEFC7
tetradic
#C79FEF #EF9F9F #C7EF9F #9FEFEF
square
#C79FEF #EF9F9F #C7EF9F #9FEFEF
split-complementary
#C79FEF #EFEF9F #9FEF9F
monochromatic
#8A36DE #A86BE6 #C79FEF #E6D3F8 #F0E5FB

Accessibility & contrast

On white

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

On black

9.63
#C79FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C79FEF
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C79FEF#FFFFFF#000000##000000
##C79FEF1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAEF2
Deuteranopia (green-blind)
#97B0ED
Tritanopia (blue-blind)
#C1ABBC
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c79fef;
/* rgb */ color: rgb(199, 159, 239);
/* oklch */ color: oklch(76.8% 0.119 306.7);
Tailwind
colors: {
  custom: {
    50: '#d9bbf4',
    500: '#c79fef',
    950: '#000000',
  },
}
SCSS
$custom: #c79fef;
$custom-light: #d9bbf4;
$custom-dark: #000000;
JSON
{
  "hex": "#c79fef",
  "rgb": {
    "r": 199,
    "g": 159,
    "b": 239
  },
  "hsl": {
    "h": 270,
    "s": 71.429,
    "l": 78.039
  },
  "oklch": {
    "l": 0.76757,
    "c": 0.11902,
    "h": 306.7
  },
  "luminance": 0.4317
}

Semantic roles & 50–950 ramp

primary
#C79FEF
secondary
#E6F2D9
accent
#D31273
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #C79FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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