#C279EA#C279EA

#C279EA is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.7% C 0.174 H 312.5°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#C279EA
RGBrgb(194, 121, 234)
HSLhsl(279, 73%, 70%)
HSVhsv(279, 48%, 92%)
CMYKcmyk(17.1%, 48.3%, 0%, 8.2%)
CIE-LABlab(62.58, 47.89, -46.12)
CIE-LCHlch(62.58, 66.49, 316.08°)
OKLaboklab(69.72% 0.1176 -0.1285)
OKLCHoklch(69.72% 0.174 312.5)
XYZxyz(43.9342, 31.0856, 81.5117)
Luminance0.3109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C279EA #A1EA79
analogous
#8A79EA #C279EA #EA79DA
triadic
#C279EA #EAC279 #79EAC2
tetradic
#C279EA #EA8A79 #A1EA79 #79DAEA
square
#C279EA #EA8A79 #A1EA79 #79DAEA
split-complementary
#C279EA #DAEA79 #79EA8A
monochromatic
#8D20C9 #AA44E2 #C279EA #DAAEF2 #F2E3FB

Accessibility & contrast

On white

2.91
#C279EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#C279EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C279EA
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C279EA#FFFFFF#000000##000000
##C279EA1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F93EE
Deuteranopia (green-blind)
#7499E7
Tritanopia (blue-blind)
#BE8BA7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c279ea;
/* rgb */ color: rgb(194, 121, 234);
/* oklch */ color: oklch(69.7% 0.174 312.5);
Tailwind
colors: {
  custom: {
    50: '#d6a2f1',
    500: '#c279ea',
    950: '#000000',
  },
}
SCSS
$custom: #c279ea;
$custom-light: #d6a2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c279ea",
  "rgb": {
    "r": 194,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 278.761,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69723,
    "c": 0.1742,
    "h": 312.5
  },
  "luminance": 0.31085
}

Semantic roles & 50–950 ramp

primary
#C279EA
secondary
#DBF0CF
accent
#D51156
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C279EA

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

Preview Lab → · Contrast checker → · Palette generator →

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