#C379FC#C379FC

#C379FC is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.8% C 0.195 H 308.3°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#C379FC
RGBrgb(195, 121, 252)
HSLhsl(274, 96%, 73%)
HSVhsv(274, 52%, 99%)
CMYKcmyk(22.6%, 52%, 0%, 1.2%)
CIE-LABlab(63.59, 52.05, -54.44)
CIE-LCHlch(63.59, 75.32, 313.72°)
OKLaboklab(70.79% 0.1206 -0.1527)
OKLCHoklch(70.79% 0.195 308.3)
XYZxyz(46.9103, 32.3058, 95.8410)
Luminance0.3231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C379FC #B2FC79
analogous
#8179FC #C379FC #FC79F3
triadic
#C379FC #FCC379 #79FCC3
tetradic
#C379FC #FC8179 #B2FC79 #79F3FC
square
#C379FC #FC8179 #B2FC79 #79F3FC
split-complementary
#C379FC #F3FC79 #79FC81
monochromatic
#8D05F5 #A83DFB #C379FC #DEB5FD #F2E1FE

Accessibility & contrast

On white

2.81
#C379FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#C379FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C379FC
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C379FC#FFFFFF#000000##000000
##C379FC1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#6A9BF9
Tritanopia (blue-blind)
#BB90AF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c379fc;
/* rgb */ color: rgb(195, 121, 252);
/* oklch */ color: oklch(70.8% 0.195 308.3);
Tailwind
colors: {
  custom: {
    50: '#d8a2fe',
    500: '#c379fc',
    950: '#000000',
  },
}
SCSS
$custom: #c379fc;
$custom-light: #d8a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c379fc",
  "rgb": {
    "r": 195,
    "g": 121,
    "b": 252
  },
  "hsl": {
    "h": 273.893,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70794,
    "c": 0.19455,
    "h": 308.3
  },
  "luminance": 0.32305
}

Semantic roles & 50–950 ramp

primary
#C379FC
secondary
#E3F7D4
accent
#E60064
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C379FC

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

Preview Lab → · Contrast checker → · Palette generator →

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