#C279FE#C279FE

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

Color values

HEX#C279FE
RGBrgb(194, 121, 254)
HSLhsl(273, 99%, 74%)
HSVhsv(273, 52%, 100%)
CMYKcmyk(23.6%, 52.4%, 0%, 0.4%)
CIE-LABlab(63.59, 52.25, -55.55)
CIE-LCHlch(63.59, 76.26, 313.24°)
OKLaboklab(70.8% 0.1195 -0.1559)
OKLCHoklch(70.8% 0.196 307.5)
XYZxyz(46.9713, 32.3004, 97.5068)
Luminance0.3230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C279FE #B5FE79
analogous
#7F79FE #C279FE #FE79F8
triadic
#C279FE #FEC279 #79FEC2
tetradic
#C279FE #FE7F79 #B5FE79 #79F8FE
square
#C279FE #FE7F79 #B5FE79 #79F8FE
split-complementary
#C279FE #F8FE79 #79FE7F
monochromatic
#8A02FB #A63CFE #C279FE #DEB6FE #F1E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C279FE#FFFFFF#000000##000000
##C279FE1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5097FF
Deuteranopia (green-blind)
#679BFB
Tritanopia (blue-blind)
#B991B0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c279fe;
/* rgb */ color: rgb(194, 121, 254);
/* oklch */ color: oklch(70.8% 0.196 307.5);
Tailwind
colors: {
  custom: {
    50: '#d7a2ff',
    500: '#c279fe',
    950: '#000000',
  },
}
SCSS
$custom: #c279fe;
$custom-light: #d7a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c279fe",
  "rgb": {
    "r": 194,
    "g": 121,
    "b": 254
  },
  "hsl": {
    "h": 272.932,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.708,
    "c": 0.19648,
    "h": 307.5
  },
  "luminance": 0.323
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C279FE

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

Preview Lab → · Contrast checker → · Palette generator →

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