#C287EF#C287EF

#C287EF is a light, vivid violet. Relative luminance 0.350; OKLCH L 72.2% C 0.157 H 309.1°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#C287EF
RGBrgb(194, 135, 239)
HSLhsl(274, 76%, 73%)
HSVhsv(274, 44%, 94%)
CMYKcmyk(18.8%, 43.5%, 0%, 6.3%)
CIE-LABlab(65.77, 41.48, -43.86)
CIE-LCHlch(65.77, 60.37, 313.41°)
OKLaboklab(72.18% 0.0991 -0.122)
OKLCHoklch(72.18% 0.157 309.1)
XYZxyz(46.4892, 35.0299, 85.9570)
Luminance0.3503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C287EF #B4EF87
analogous
#8E87EF #C287EF #EF87E8
triadic
#C287EF #EFC287 #87EFC2
tetradic
#C287EF #EF8E87 #B4EF87 #87E8EF
square
#C287EF #EF8E87 #B4EF87 #87E8EF
split-complementary
#C287EF #E8EF87 #87EF8E
monochromatic
#8B1EDE #A751E8 #C287EF #DDBDF6 #F1E4FB

Accessibility & contrast

On white

2.62
#C287EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#C287EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C287EF
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C287EF#FFFFFF#000000##000000
##C287EF1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9DF3
Deuteranopia (green-blind)
#7EA1EC
Tritanopia (blue-blind)
#BC97B0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c287ef;
/* rgb */ color: rgb(194, 135, 239);
/* oklch */ color: oklch(72.2% 0.157 309.1);
Tailwind
colors: {
  custom: {
    50: '#d6abf4',
    500: '#c287ef',
    950: '#000000',
  },
}
SCSS
$custom: #c287ef;
$custom-light: #d6abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#c287ef",
  "rgb": {
    "r": 194,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 274.038,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72183,
    "c": 0.15719,
    "h": 309.1
  },
  "luminance": 0.35029
}

Semantic roles & 50–950 ramp

primary
#C287EF
secondary
#E4F3D8
accent
#D90D65
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C287EF

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

Preview Lab → · Contrast checker → · Palette generator →

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