#C079FC#C079FC

#C079FC is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.5% C 0.194 H 307.2°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#C079FC
RGBrgb(192, 121, 252)
HSLhsl(273, 96%, 73%)
HSVhsv(273, 52%, 99%)
CMYKcmyk(23.8%, 52%, 0%, 1.2%)
CIE-LABlab(63.27, 51.29, -54.98)
CIE-LCHlch(63.27, 75.19, 313.01°)
OKLaboklab(70.48% 0.117 -0.1543)
OKLCHoklch(70.48% 0.194 307.2)
XYZxyz(46.1427, 31.9100, 95.8050)
Luminance0.3191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C079FC #B5FC79
analogous
#7E79FC #C079FC #FC79F6
triadic
#C079FC #FCC079 #79FCC0
tetradic
#C079FC #FC7E79 #B5FC79 #79F6FC
square
#C079FC #FC7E79 #B5FC79 #79F6FC
split-complementary
#C079FC #F6FC79 #79FC7E
monochromatic
#8705F5 #A43DFB #C079FC #DCB5FD #F1E1FE

Accessibility & contrast

On white

2.84
#C079FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#C079FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C079FC
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C079FC#FFFFFF#000000##000000
##C079FC1.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5197FF
Deuteranopia (green-blind)
#679AF9
Tritanopia (blue-blind)
#B790AF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c079fc;
/* rgb */ color: rgb(192, 121, 252);
/* oklch */ color: oklch(70.5% 0.194 307.2);
Tailwind
colors: {
  custom: {
    50: '#d6a2fe',
    500: '#c079fc',
    950: '#000000',
  },
}
SCSS
$custom: #c079fc;
$custom-light: #d6a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c079fc",
  "rgb": {
    "r": 192,
    "g": 121,
    "b": 252
  },
  "hsl": {
    "h": 272.519,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70479,
    "c": 0.19365,
    "h": 307.2
  },
  "luminance": 0.31909
}

Semantic roles & 50–950 ramp

primary
#C079FC
secondary
#E4F7D4
accent
#E60069
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C079FC

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

Preview Lab → · Contrast checker → · Palette generator →

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