#C79FF2#C79FF2

#C79FF2 is a light, vivid violet. Relative luminance 0.433; OKLCH L 76.9% C 0.123 H 305.8°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#C79FF2
RGBrgb(199, 159, 242)
HSLhsl(269, 76%, 79%)
HSVhsv(269, 34%, 95%)
CMYKcmyk(17.8%, 34.3%, 0%, 5.1%)
CIE-LABlab(71.79, 30.46, -36.07)
CIE-LCHlch(71.79, 47.21, 310.19°)
OKLaboklab(76.89% 0.0718 -0.0996)
OKLCHoklch(76.89% 0.123 305.8)
XYZxyz(51.9752, 43.3495, 89.6163)
Luminance0.4335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C79FF2 #CAF29F
analogous
#9FA0F2 #C79FF2 #F19FF2
triadic
#C79FF2 #F2C79F #9FF2C7
tetradic
#C79FF2 #F29FA0 #CAF29F #9FF2F1
square
#C79FF2 #F29FA0 #CAF29F #9FF2F1
split-complementary
#C79FF2 #F2F19F #A0F29F
monochromatic
#8833E3 #A869EB #C79FF2 #E6D5F9 #EFE4FB

Accessibility & contrast

On white

2.17
#C79FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#C79FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C79FF2
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C79FF2#FFFFFF#000000##000000
##C79FF21.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EAFF5
Deuteranopia (green-blind)
#96B0F0
Tritanopia (blue-blind)
#C1ABBE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c79ff2;
/* rgb */ color: rgb(199, 159, 242);
/* oklch */ color: oklch(76.9% 0.123 305.8);
Tailwind
colors: {
  custom: {
    50: '#d9bbf6',
    500: '#c79ff2',
    950: '#000000',
  },
}
SCSS
$custom: #c79ff2;
$custom-light: #d9bbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#c79ff2",
  "rgb": {
    "r": 199,
    "g": 159,
    "b": 242
  },
  "hsl": {
    "h": 268.916,
    "s": 76.147,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76889,
    "c": 0.12278,
    "h": 305.8
  },
  "luminance": 0.43349
}

Semantic roles & 50–950 ramp

primary
#C79FF2
secondary
#E6F3D8
accent
#D80D76
background
#FDFBFF
surface
#FAF6FE
border
#D3D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #C79FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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