#C79BFA#C79BFA

#C79BFA is a light, vivid violet. Relative luminance 0.425; OKLCH L 76.6% C 0.139 H 304.6°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#C79BFA
RGBrgb(199, 155, 250)
HSLhsl(268, 90%, 79%)
HSVhsv(268, 38%, 98%)
CMYKcmyk(20.4%, 38%, 0%, 2%)
CIE-LABlab(71.21, 34.43, -41.33)
CIE-LCHlch(71.21, 53.79, 309.79°)
OKLaboklab(76.55% 0.0792 -0.1147)
OKLCHoklch(76.55% 0.139 304.6)
XYZxyz(52.5263, 42.4871, 95.8576)
Luminance0.4249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C79BFA #CEFA9B
analogous
#9B9FFA #C79BFA #F69BFA
triadic
#C79BFA #FAC79B #9BFAC7
tetradic
#C79BFA #FA9B9F #CEFA9B #9BFAF6
square
#C79BFA #FA9B9F #CEFA9B #9BFAF6
split-complementary
#C79BFA #FAF69B #9FFA9B
monochromatic
#8626F4 #A661F7 #C79BFA #E8D5FD #EFE2FE

Accessibility & contrast

On white

2.21
#C79BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#C79BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C79BFA
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C79BFA#FFFFFF#000000##000000
##C79BFA1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ADFE
Deuteranopia (green-blind)
#8FAEF7
Tritanopia (blue-blind)
#BFAABF
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c79bfa;
/* rgb */ color: rgb(199, 155, 250);
/* oklch */ color: oklch(76.6% 0.139 304.6);
Tailwind
colors: {
  custom: {
    50: '#d9b9fc',
    500: '#c79bfa',
    950: '#000000',
  },
}
SCSS
$custom: #c79bfa;
$custom-light: #d9b9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c79bfa",
  "rgb": {
    "r": 199,
    "g": 155,
    "b": 250
  },
  "hsl": {
    "h": 267.789,
    "s": 90.476,
    "l": 79.412
  },
  "oklch": {
    "l": 0.76553,
    "c": 0.13936,
    "h": 304.6
  },
  "luminance": 0.42487
}

Semantic roles & 50–950 ramp

primary
#C79BFA
secondary
#E7F6D5
accent
#E6007B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #C79BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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