#C286FA#C286FA

#C286FA is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.6% C 0.172 H 306.5°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#C286FA
RGBrgb(194, 134, 250)
HSLhsl(271, 92%, 75%)
HSVhsv(271, 46%, 98%)
CMYKcmyk(22.4%, 46.4%, 0%, 2%)
CIE-LABlab(66.08, 44.47, -49.42)
CIE-LCHlch(66.08, 66.48, 311.98°)
OKLaboklab(72.58% 0.1021 -0.1381)
OKLCHoklch(72.58% 0.172 306.5)
XYZxyz(48.0250, 35.4221, 94.7311)
Luminance0.3542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C286FA #BEFA86
analogous
#8886FA #C286FA #FA86F8
triadic
#C286FA #FAC286 #86FAC2
tetradic
#C286FA #FA8886 #BEFA86 #86F8FA
square
#C286FA #FA8886 #BEFA86 #86F8FA
split-complementary
#C286FA #F8FA86 #86FA88
monochromatic
#8710F5 #A44BF8 #C286FA #E0C1FC #F0E2FE

Accessibility & contrast

On white

2.60
#C286FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#C286FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C286FA
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C286FA#FFFFFF#000000##000000
##C286FA1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#689EFE
Deuteranopia (green-blind)
#77A1F7
Tritanopia (blue-blind)
#BA99B4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c286fa;
/* rgb */ color: rgb(194, 134, 250);
/* oklch */ color: oklch(72.6% 0.172 306.5);
Tailwind
colors: {
  custom: {
    50: '#d7aafc',
    500: '#c286fa',
    950: '#000000',
  },
}
SCSS
$custom: #c286fa;
$custom-light: #d7aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#c286fa",
  "rgb": {
    "r": 194,
    "g": 134,
    "b": 250
  },
  "hsl": {
    "h": 271.034,
    "s": 92.063,
    "l": 75.294
  },
  "oklch": {
    "l": 0.7258,
    "c": 0.17175,
    "h": 306.5
  },
  "luminance": 0.35422
}

Semantic roles & 50–950 ramp

primary
#C286FA
secondary
#E5F6D5
accent
#E6006F
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C286FA

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

Preview Lab → · Contrast checker → · Palette generator →

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