#C286FC#C286FC

#C286FC is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.7% C 0.174 H 306.0°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#C286FC
RGBrgb(194, 134, 252)
HSLhsl(271, 95%, 76%)
HSVhsv(271, 47%, 99%)
CMYKcmyk(23%, 46.8%, 0%, 1.2%)
CIE-LABlab(66.17, 44.92, -50.36)
CIE-LCHlch(66.17, 67.48, 311.73°)
OKLaboklab(72.69% 0.1023 -0.1409)
OKLCHoklch(72.69% 0.174 306)
XYZxyz(48.3403, 35.5482, 96.3914)
Luminance0.3555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C286FC #C0FC86
analogous
#8786FC #C286FC #FC86FB
triadic
#C286FC #FCC286 #86FCC2
tetradic
#C286FC #FC8786 #C0FC86 #86FBFC
square
#C286FC #FC8786 #C0FC86 #86FBFC
split-complementary
#C286FC #FBFC86 #86FC87
monochromatic
#860FF9 #A44AFB #C286FC #E0C2FD #F0E1FE

Accessibility & contrast

On white

2.59
#C286FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#C286FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C286FC
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C286FC#FFFFFF#000000##000000
##C286FC1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#76A1F9
Tritanopia (blue-blind)
#B99AB5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c286fc;
/* rgb */ color: rgb(194, 134, 252);
/* oklch */ color: oklch(72.7% 0.174 306.0);
Tailwind
colors: {
  custom: {
    50: '#d7aafe',
    500: '#c286fc',
    950: '#000000',
  },
}
SCSS
$custom: #c286fc;
$custom-light: #d7aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#c286fc",
  "rgb": {
    "r": 194,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 270.508,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72685,
    "c": 0.17411,
    "h": 306
  },
  "luminance": 0.35548
}

Semantic roles & 50–950 ramp

primary
#C286FC
secondary
#E5F6D5
accent
#E60071
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C286FC

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

Preview Lab → · Contrast checker → · Palette generator →

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