#C286F8#C286F8

#C286F8 is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.5% C 0.169 H 306.9°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#C286F8
RGBrgb(194, 134, 248)
HSLhsl(272, 89%, 75%)
HSVhsv(272, 46%, 97%)
CMYKcmyk(21.8%, 46%, 0%, 2.7%)
CIE-LABlab(65.98, 44.02, -48.48)
CIE-LCHlch(65.98, 65.48, 312.24°)
OKLaboklab(72.48% 0.1018 -0.1354)
OKLCHoklch(72.48% 0.169 306.9)
XYZxyz(47.7131, 35.2973, 93.0882)
Luminance0.3530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C286F8 #BCF886
analogous
#8986F8 #C286F8 #F886F5
triadic
#C286F8 #F8C286 #86F8C2
tetradic
#C286F8 #F88986 #BCF886 #86F5F8
square
#C286F8 #F88986 #BCF886 #86F5F8
split-complementary
#C286F8 #F5F886 #86F889
monochromatic
#8812F1 #A54CF5 #C286F8 #DFC0FB #F0E2FD

Accessibility & contrast

On white

2.61
#C286F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#C286F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C286F8
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C286F8#FFFFFF#000000##000000
##C286F81.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFC
Deuteranopia (green-blind)
#78A1F5
Tritanopia (blue-blind)
#BA99B3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c286f8;
/* rgb */ color: rgb(194, 134, 248);
/* oklch */ color: oklch(72.5% 0.169 306.9);
Tailwind
colors: {
  custom: {
    50: '#d6aafb',
    500: '#c286f8',
    950: '#000000',
  },
}
SCSS
$custom: #c286f8;
$custom-light: #d6aafb;
$custom-dark: #000000;
JSON
{
  "hex": "#c286f8",
  "rgb": {
    "r": 194,
    "g": 134,
    "b": 248
  },
  "hsl": {
    "h": 271.579,
    "s": 89.063,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72477,
    "c": 0.1694,
    "h": 306.9
  },
  "luminance": 0.35297
}

Semantic roles & 50–950 ramp

primary
#C286F8
secondary
#E5F5D6
accent
#E6006D
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C286F8

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

Preview Lab → · Contrast checker → · Palette generator →

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