#C79DFF#C79DFF

#C79DFF is a light, vivid violet. Relative luminance 0.435; OKLCH L 77.1% C 0.142 H 302.9°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#C79DFF
RGBrgb(199, 157, 255)
HSLhsl(266, 100%, 81%)
HSVhsv(266, 38%, 100%)
CMYKcmyk(22%, 38.4%, 0%, 0%)
CIE-LABlab(71.88, 34.46, -42.99)
CIE-LCHlch(71.88, 55.10, 308.71°)
OKLaboklab(77.13% 0.0774 -0.1195)
OKLCHoklch(77.13% 0.142 302.9)
XYZxyz(53.6563, 43.4761, 100.1533)
Luminance0.4348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C79DFF #D5FF9D
analogous
#9DA4FF #C79DFF #F89DFF
triadic
#C79DFF #FFC79D #9DFFC7
tetradic
#C79DFF #FF9DA4 #D5FF9D #9DFFF8
square
#C79DFF #FF9DA4 #D5FF9D #9DFFF8
split-complementary
#C79DFF #FFF89D #A4FF9D
monochromatic
#8123FF #A460FF #C79DFF #EADAFF #EEE0FF

Accessibility & contrast

On white

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

On black

9.70
#C79DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C79DFF
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C79DFF#FFFFFF#000000##000000
##C79DFF1.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AFFF
Deuteranopia (green-blind)
#8EB0FC
Tritanopia (blue-blind)
#BEADC2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c79dff;
/* rgb */ color: rgb(199, 157, 255);
/* oklch */ color: oklch(77.1% 0.142 302.9);
Tailwind
colors: {
  custom: {
    50: '#d9baff',
    500: '#c79dff',
    950: '#000000',
  },
}
SCSS
$custom: #c79dff;
$custom-light: #d9baff;
$custom-dark: #000000;
JSON
{
  "hex": "#c79dff",
  "rgb": {
    "r": 199,
    "g": 157,
    "b": 255
  },
  "hsl": {
    "h": 265.714,
    "s": 100,
    "l": 80.784
  },
  "oklch": {
    "l": 0.77133,
    "c": 0.14238,
    "h": 302.9
  },
  "luminance": 0.43476
}

Semantic roles & 50–950 ramp

primary
#C79DFF
secondary
#E8F7D4
accent
#E60083
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #C79DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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