#C284EF#C284EF

#C284EF is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.7% C 0.162 H 309.6°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#C284EF
RGBrgb(194, 132, 239)
HSLhsl(275, 77%, 73%)
HSVhsv(275, 45%, 94%)
CMYKcmyk(18.8%, 44.8%, 0%, 6.3%)
CIE-LABlab(65.12, 43.11, -44.87)
CIE-LCHlch(65.12, 62.22, 313.85°)
OKLaboklab(71.7% 0.1033 -0.1249)
OKLCHoklch(71.7% 0.162 309.6)
XYZxyz(46.0765, 34.2045, 85.8194)
Luminance0.3420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C284EF #B1EF84
analogous
#8C84EF #C284EF #EF84E7
triadic
#C284EF #EFC284 #84EFC2
tetradic
#C284EF #EF8C84 #B1EF84 #84E7EF
square
#C284EF #EF8C84 #B1EF84 #84E7EF
split-complementary
#C284EF #E7EF84 #84EF8C
monochromatic
#8C1DDC #A74EE8 #C284EF #DDBAF6 #F2E4FB

Accessibility & contrast

On white

2.68
#C284EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#C284EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C284EF
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C284EF#FFFFFF#000000##000000
##C284EF1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9BF3
Deuteranopia (green-blind)
#7C9FEC
Tritanopia (blue-blind)
#BC95AE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c284ef;
/* rgb */ color: rgb(194, 132, 239);
/* oklch */ color: oklch(71.7% 0.162 309.6);
Tailwind
colors: {
  custom: {
    50: '#d6a9f4',
    500: '#c284ef',
    950: '#000000',
  },
}
SCSS
$custom: #c284ef;
$custom-light: #d6a9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c284ef",
  "rgb": {
    "r": 194,
    "g": 132,
    "b": 239
  },
  "hsl": {
    "h": 274.766,
    "s": 76.978,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71698,
    "c": 0.16208,
    "h": 309.6
  },
  "luminance": 0.34204
}

Semantic roles & 50–950 ramp

primary
#C284EF
secondary
#E3F3D8
accent
#D90C62
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C284EF

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

Preview Lab → · Contrast checker → · Palette generator →

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