#C287FB#C287FB

#C287FB is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.8% C 0.171 H 306.1°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#C287FB
RGBrgb(194, 135, 251)
HSLhsl(271, 94%, 76%)
HSVhsv(271, 46%, 98%)
CMYKcmyk(22.7%, 46.2%, 0%, 1.6%)
CIE-LABlab(66.34, 44.15, -49.55)
CIE-LCHlch(66.34, 66.37, 311.70°)
OKLaboklab(72.79% 0.1009 -0.1385)
OKLCHoklch(72.79% 0.171 306.1)
XYZxyz(48.3211, 35.7627, 95.6054)
Luminance0.3576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C287FB #C0FB87
analogous
#8887FB #C287FB #FB87FA
triadic
#C287FB #FBC287 #87FBC2
tetradic
#C287FB #FB8887 #C0FB87 #87FAFB
square
#C287FB #FB8887 #C0FB87 #87FAFB
split-complementary
#C287FB #FAFB87 #87FB88
monochromatic
#8611F7 #A44CF9 #C287FB #E0C2FD #F0E1FE

Accessibility & contrast

On white

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

On black

8.15
#C287FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C287FB
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C287FB#FFFFFF#000000##000000
##C287FB1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#689FFF
Deuteranopia (green-blind)
#78A2F8
Tritanopia (blue-blind)
#B99BB5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c287fb;
/* rgb */ color: rgb(194, 135, 251);
/* oklch */ color: oklch(72.8% 0.171 306.1);
Tailwind
colors: {
  custom: {
    50: '#d7abfd',
    500: '#c287fb',
    950: '#000000',
  },
}
SCSS
$custom: #c287fb;
$custom-light: #d7abfd;
$custom-dark: #000000;
JSON
{
  "hex": "#c287fb",
  "rgb": {
    "r": 194,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 270.517,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72792,
    "c": 0.17135,
    "h": 306.1
  },
  "luminance": 0.35762
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C287FB

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

Preview Lab → · Contrast checker → · Palette generator →

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