#C286EC#C286EC

#C286EC is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.9% C 0.155 H 310.1°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#C286EC
RGBrgb(194, 134, 236)
HSLhsl(275, 73%, 73%)
HSVhsv(275, 43%, 93%)
CMYKcmyk(17.8%, 43.2%, 0%, 7.5%)
CIE-LABlab(65.42, 41.37, -42.76)
CIE-LCHlch(65.42, 59.50, 314.05°)
OKLaboklab(71.87% 0.1 -0.1188)
OKLCHoklch(71.87% 0.155 310.1)
XYZxyz(45.9108, 34.5764, 83.5959)
Luminance0.3458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C286EC #B0EC86
analogous
#8F86EC #C286EC #EC86E3
triadic
#C286EC #ECC286 #86ECC2
tetradic
#C286EC #EC8F86 #B0EC86 #86E3EC
square
#C286EC #EC8F86 #B0EC86 #86E3EC
split-complementary
#C286EC #E3EC86 #86EC8F
monochromatic
#8C22D6 #A751E4 #C286EC #DDBBF4 #F2E5FB

Accessibility & contrast

On white

2.65
#C286EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#C286EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C286EC
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C286EC#FFFFFF#000000##000000
##C286EC1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CF0
Deuteranopia (green-blind)
#7FA0E9
Tritanopia (blue-blind)
#BD96AE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c286ec;
/* rgb */ color: rgb(194, 134, 236);
/* oklch */ color: oklch(71.9% 0.155 310.1);
Tailwind
colors: {
  custom: {
    50: '#d6aaf2',
    500: '#c286ec',
    950: '#000000',
  },
}
SCSS
$custom: #c286ec;
$custom-light: #d6aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c286ec",
  "rgb": {
    "r": 194,
    "g": 134,
    "b": 236
  },
  "hsl": {
    "h": 275.294,
    "s": 72.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71872,
    "c": 0.15531,
    "h": 310.1
  },
  "luminance": 0.34576
}

Semantic roles & 50–950 ramp

primary
#C286EC
secondary
#E3F3D8
accent
#D51161
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C286EC

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

Preview Lab → · Contrast checker → · Palette generator →

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