#C286EB#C286EB

#C286EB is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.8% C 0.154 H 310.4°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#C286EB
RGBrgb(194, 134, 235)
HSLhsl(276, 72%, 72%)
HSVhsv(276, 43%, 92%)
CMYKcmyk(17.4%, 43%, 0%, 7.8%)
CIE-LABlab(65.37, 41.16, -42.28)
CIE-LCHlch(65.37, 59.00, 314.23°)
OKLaboklab(71.82% 0.0999 -0.1174)
OKLCHoklch(71.82% 0.154 310.4)
XYZxyz(45.7659, 34.5184, 82.8329)
Luminance0.3452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C286EB #AFEB86
analogous
#9086EB #C286EB #EB86E1
triadic
#C286EB #EBC286 #86EBC2
tetradic
#C286EB #EB9086 #AFEB86 #86E1EB
square
#C286EB #EB9086 #AFEB86 #86E1EB
split-complementary
#C286EB #E1EB86 #86EB90
monochromatic
#8C23D4 #A851E2 #C286EB #DCBBF4 #F2E5FB

Accessibility & contrast

On white

2.66
#C286EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#C286EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C286EB
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C286EB#FFFFFF#000000##000000
##C286EB1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CEF
Deuteranopia (green-blind)
#7FA0E8
Tritanopia (blue-blind)
#BD95AD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c286eb;
/* rgb */ color: rgb(194, 134, 235);
/* oklch */ color: oklch(71.8% 0.154 310.4);
Tailwind
colors: {
  custom: {
    50: '#d6aaf2',
    500: '#c286eb',
    950: '#000000',
  },
}
SCSS
$custom: #c286eb;
$custom-light: #d6aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c286eb",
  "rgb": {
    "r": 194,
    "g": 134,
    "b": 235
  },
  "hsl": {
    "h": 275.644,
    "s": 71.631,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71823,
    "c": 0.15415,
    "h": 310.4
  },
  "luminance": 0.34518
}

Semantic roles & 50–950 ramp

primary
#C286EB
secondary
#E3F2D9
accent
#D41261
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C286EB

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

Preview Lab → · Contrast checker → · Palette generator →

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