#C284EA#C284EA

#C284EA is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.5% C 0.156 H 311.0°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#C284EA
RGBrgb(194, 132, 234)
HSLhsl(276, 71%, 72%)
HSVhsv(276, 44%, 92%)
CMYKcmyk(17.1%, 43.6%, 0%, 8.2%)
CIE-LABlab(64.89, 42.02, -42.48)
CIE-LCHlch(64.89, 59.75, 314.69°)
OKLaboklab(71.45% 0.1025 -0.118)
OKLCHoklch(71.45% 0.156 311)
XYZxyz(45.3480, 33.9131, 81.9829)
Luminance0.3391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C284EA #ACEA84
analogous
#8F84EA #C284EA #EA84DF
triadic
#C284EA #EAC284 #84EAC2
tetradic
#C284EA #EA8F84 #ACEA84 #84DFEA
square
#C284EA #EA8F84 #ACEA84 #84DFEA
split-complementary
#C284EA #DFEA84 #84EA8F
monochromatic
#8C24D0 #A850E1 #C284EA #DCB8F3 #F2E5FB

Accessibility & contrast

On white

2.70
#C284EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#C284EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C284EA
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C284EA#FFFFFF#000000##000000
##C284EA1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9AEE
Deuteranopia (green-blind)
#7E9FE7
Tritanopia (blue-blind)
#BE93AC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c284ea;
/* rgb */ color: rgb(194, 132, 234);
/* oklch */ color: oklch(71.5% 0.156 311.0);
Tailwind
colors: {
  custom: {
    50: '#d6a9f1',
    500: '#c284ea',
    950: '#000000',
  },
}
SCSS
$custom: #c284ea;
$custom-light: #d6a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c284ea",
  "rgb": {
    "r": 194,
    "g": 132,
    "b": 234
  },
  "hsl": {
    "h": 276.471,
    "s": 70.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7145,
    "c": 0.15629,
    "h": 311
  },
  "luminance": 0.33912
}

Semantic roles & 50–950 ramp

primary
#C284EA
secondary
#E2F2D8
accent
#D3135E
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C284EA

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

Preview Lab → · Contrast checker → · Palette generator →

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