#C286FE#C286FE

#C286FE is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.8% C 0.176 H 305.5°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#C286FE
RGBrgb(194, 134, 254)
HSLhsl(270, 98%, 76%)
HSVhsv(270, 47%, 100%)
CMYKcmyk(23.6%, 47.2%, 0%, 0.4%)
CIE-LABlab(66.27, 45.37, -51.30)
CIE-LCHlch(66.27, 68.48, 311.49°)
OKLaboklab(72.79% 0.1026 -0.1436)
OKLCHoklch(72.79% 0.176 305.5)
XYZxyz(48.6589, 35.6756, 98.0694)
Luminance0.3568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C286FE #C2FE86
analogous
#8686FE #C286FE #FE86FE
triadic
#C286FE #FEC286 #86FEC2
tetradic
#C286FE #FE8686 #C2FE86 #86FEFE
square
#C286FE #FE8686 #C2FE86 #86FEFE
split-complementary
#C286FE #FEFE86 #86FE86
monochromatic
#850DFD #A349FD #C286FE #E1C3FF #F0E1FF

Accessibility & contrast

On white

2.58
#C286FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#C286FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C286FE
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C286FE#FFFFFF#000000##000000
##C286FE1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#75A1FB
Tritanopia (blue-blind)
#B89BB6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c286fe;
/* rgb */ color: rgb(194, 134, 254);
/* oklch */ color: oklch(72.8% 0.176 305.5);
Tailwind
colors: {
  custom: {
    50: '#d7aaff',
    500: '#c286fe',
    950: '#000000',
  },
}
SCSS
$custom: #c286fe;
$custom-light: #d7aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#c286fe",
  "rgb": {
    "r": 194,
    "g": 134,
    "b": 254
  },
  "hsl": {
    "h": 270,
    "s": 98.361,
    "l": 76.078
  },
  "oklch": {
    "l": 0.7279,
    "c": 0.17646,
    "h": 305.5
  },
  "luminance": 0.35675
}

Semantic roles & 50–950 ramp

primary
#C286FE
secondary
#E6F7D4
accent
#E60073
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C286FE

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

Preview Lab → · Contrast checker → · Palette generator →

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