#C79EF2#C79EF2

#C79EF2 is a light, vivid violet. Relative luminance 0.430; OKLCH L 76.7% C 0.124 H 306.1°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#C79EF2
RGBrgb(199, 158, 242)
HSLhsl(269, 76%, 78%)
HSVhsv(269, 35%, 95%)
CMYKcmyk(17.8%, 34.7%, 0%, 5.1%)
CIE-LABlab(71.56, 31.01, -36.43)
CIE-LCHlch(71.56, 47.84, 310.41°)
OKLaboklab(76.71% 0.0733 -0.1006)
OKLCHoklch(76.71% 0.124 306.1)
XYZxyz(51.8039, 43.0069, 89.5593)
Luminance0.4301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C79EF2 #C9F29E
analogous
#9E9FF2 #C79EF2 #F19EF2
triadic
#C79EF2 #F2C79E #9EF2C7
tetradic
#C79EF2 #F29E9F #C9F29E #9EF2F1
square
#C79EF2 #F29E9F #C9F29E #9EF2F1
split-complementary
#C79EF2 #F2F19E #9FF29E
monochromatic
#8932E4 #A868EB #C79EF2 #E6D4F9 #EFE4FB

Accessibility & contrast

On white

2.19
#C79EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#C79EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C79EF2
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C79EF2#FFFFFF#000000##000000
##C79EF21.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DAEF5
Deuteranopia (green-blind)
#95B0F0
Tritanopia (blue-blind)
#C1AABD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c79ef2;
/* rgb */ color: rgb(199, 158, 242);
/* oklch */ color: oklch(76.7% 0.124 306.1);
Tailwind
colors: {
  custom: {
    50: '#d9bbf6',
    500: '#c79ef2',
    950: '#000000',
  },
}
SCSS
$custom: #c79ef2;
$custom-light: #d9bbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#c79ef2",
  "rgb": {
    "r": 199,
    "g": 158,
    "b": 242
  },
  "hsl": {
    "h": 269.286,
    "s": 76.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.76712,
    "c": 0.12445,
    "h": 306.1
  },
  "luminance": 0.43007
}

Semantic roles & 50–950 ramp

primary
#C79EF2
secondary
#E6F3D8
accent
#D90D75
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #C79EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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