#C279FC#C279FC

#C279FC is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.7% C 0.194 H 307.9°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#C279FC
RGBrgb(194, 121, 252)
HSLhsl(273, 96%, 73%)
HSVhsv(273, 52%, 99%)
CMYKcmyk(23%, 52%, 0%, 1.2%)
CIE-LABlab(63.49, 51.80, -54.62)
CIE-LCHlch(63.49, 75.28, 313.48°)
OKLaboklab(70.69% 0.1194 -0.1532)
OKLCHoklch(70.69% 0.194 307.9)
XYZxyz(46.6527, 32.1729, 95.8289)
Luminance0.3217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C279FC #B3FC79
analogous
#8079FC #C279FC #FC79F4
triadic
#C279FC #FCC279 #79FCC2
tetradic
#C279FC #FC8079 #B3FC79 #79F4FC
square
#C279FC #FC8079 #B3FC79 #79F4FC
split-complementary
#C279FC #F4FC79 #79FC80
monochromatic
#8B05F5 #A73DFB #C279FC #DDB5FD #F1E1FE

Accessibility & contrast

On white

2.82
#C279FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#C279FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C279FC
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C279FC#FFFFFF#000000##000000
##C279FC1.002.827.437.43
#FFFFFF2.821.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#699BF9
Tritanopia (blue-blind)
#BA90AF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c279fc;
/* rgb */ color: rgb(194, 121, 252);
/* oklch */ color: oklch(70.7% 0.194 307.9);
Tailwind
colors: {
  custom: {
    50: '#d7a2fe',
    500: '#c279fc',
    950: '#000000',
  },
}
SCSS
$custom: #c279fc;
$custom-light: #d7a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c279fc",
  "rgb": {
    "r": 194,
    "g": 121,
    "b": 252
  },
  "hsl": {
    "h": 273.435,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70688,
    "c": 0.19424,
    "h": 307.9
  },
  "luminance": 0.32172
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C279FC

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

Preview Lab → · Contrast checker → · Palette generator →

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