#C79EFF#C79EFF

#C79EFF is a light, vivid violet. Relative luminance 0.438; OKLCH L 77.3% C 0.141 H 302.7°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#C79EFF
RGBrgb(199, 158, 255)
HSLhsl(265, 100%, 81%)
HSVhsv(265, 38%, 100%)
CMYKcmyk(22%, 38%, 0%, 0%)
CIE-LABlab(72.11, 33.91, -42.64)
CIE-LCHlch(72.11, 54.48, 308.49°)
OKLaboklab(77.31% 0.0761 -0.1184)
OKLCHoklch(77.31% 0.141 302.7)
XYZxyz(53.8262, 43.8159, 100.2100)
Luminance0.4382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C79EFF #D6FF9E
analogous
#9EA5FF #C79EFF #F89EFF
triadic
#C79EFF #FFC79E #9EFFC7
tetradic
#C79EFF #FF9EA5 #D6FF9E #9EFFF8
square
#C79EFF #FF9EA5 #D6FF9E #9EFFF8
split-complementary
#C79EFF #FFF89E #A5FF9E
monochromatic
#8024FF #A461FF #C79EFF #EADBFF #EDE0FF

Accessibility & contrast

On white

2.15
#C79EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#C79EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C79EFF
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C79EFF#FFFFFF#000000##000000
##C79EFF1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#87B0FF
Deuteranopia (green-blind)
#8FB1FC
Tritanopia (blue-blind)
#BEAEC3
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c79eff;
/* rgb */ color: rgb(199, 158, 255);
/* oklch */ color: oklch(77.3% 0.141 302.7);
Tailwind
colors: {
  custom: {
    50: '#d9bbff',
    500: '#c79eff',
    950: '#000000',
  },
}
SCSS
$custom: #c79eff;
$custom-light: #d9bbff;
$custom-dark: #000000;
JSON
{
  "hex": "#c79eff",
  "rgb": {
    "r": 199,
    "g": 158,
    "b": 255
  },
  "hsl": {
    "h": 265.361,
    "s": 100,
    "l": 80.98
  },
  "oklch": {
    "l": 0.77306,
    "c": 0.14076,
    "h": 302.7
  },
  "luminance": 0.43816
}

Semantic roles & 50–950 ramp

primary
#C79EFF
secondary
#E8F7D4
accent
#E60084
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #C79EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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