#C286EF#C286EF

#C286EF is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.0% C 0.159 H 309.3°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#C286EF
RGBrgb(194, 134, 239)
HSLhsl(274, 77%, 73%)
HSVhsv(274, 44%, 94%)
CMYKcmyk(18.8%, 43.9%, 0%, 6.3%)
CIE-LABlab(65.56, 42.03, -44.20)
CIE-LCHlch(65.56, 60.99, 313.56°)
OKLaboklab(72.02% 0.1005 -0.123)
OKLCHoklch(72.02% 0.159 309.3)
XYZxyz(46.3503, 34.7522, 85.9107)
Luminance0.3475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C286EF #B3EF86
analogous
#8D86EF #C286EF #EF86E7
triadic
#C286EF #EFC286 #86EFC2
tetradic
#C286EF #EF8D86 #B3EF86 #86E7EF
square
#C286EF #EF8D86 #B3EF86 #86E7EF
split-complementary
#C286EF #E7EF86 #86EF8D
monochromatic
#8B1DDD #A750E8 #C286EF #DDBCF6 #F1E4FB

Accessibility & contrast

On white

2.64
#C286EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#C286EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C286EF
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C286EF#FFFFFF#000000##000000
##C286EF1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9DF3
Deuteranopia (green-blind)
#7DA0EC
Tritanopia (blue-blind)
#BC96AF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c286ef;
/* rgb */ color: rgb(194, 134, 239);
/* oklch */ color: oklch(72.0% 0.159 309.3);
Tailwind
colors: {
  custom: {
    50: '#d6aaf4',
    500: '#c286ef',
    950: '#000000',
  },
}
SCSS
$custom: #c286ef;
$custom-light: #d6aaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#c286ef",
  "rgb": {
    "r": 194,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 274.286,
    "s": 76.642,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72021,
    "c": 0.15882,
    "h": 309.3
  },
  "luminance": 0.34752
}

Semantic roles & 50–950 ramp

primary
#C286EF
secondary
#E4F3D8
accent
#D90D64
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C286EF

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

Preview Lab → · Contrast checker → · Palette generator →

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