#C284EB#C284EB

#C284EB is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.5% C 0.157 H 310.7°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#C284EB
RGBrgb(194, 132, 235)
HSLhsl(276, 72%, 72%)
HSVhsv(276, 44%, 92%)
CMYKcmyk(17.4%, 43.8%, 0%, 7.8%)
CIE-LABlab(64.94, 42.24, -42.96)
CIE-LCHlch(64.94, 60.24, 314.51°)
OKLaboklab(71.5% 0.1027 -0.1194)
OKLCHoklch(71.5% 0.157 310.7)
XYZxyz(45.4921, 33.9708, 82.7417)
Luminance0.3397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C284EB #ADEB84
analogous
#8F84EB #C284EB #EB84E0
triadic
#C284EB #EBC284 #84EBC2
tetradic
#C284EB #EB8F84 #ADEB84 #84E0EB
square
#C284EB #EB8F84 #ADEB84 #84E0EB
split-complementary
#C284EB #E0EB84 #84EB8F
monochromatic
#8C22D2 #A84FE2 #C284EB #DCB9F4 #F2E5FB

Accessibility & contrast

On white

2.69
#C284EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#C284EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C284EB
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C284EB#FFFFFF#000000##000000
##C284EB1.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BEF
Deuteranopia (green-blind)
#7E9FE8
Tritanopia (blue-blind)
#BD94AC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c284eb;
/* rgb */ color: rgb(194, 132, 235);
/* oklch */ color: oklch(71.5% 0.157 310.7);
Tailwind
colors: {
  custom: {
    50: '#d6a9f2',
    500: '#c284eb',
    950: '#000000',
  },
}
SCSS
$custom: #c284eb;
$custom-light: #d6a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c284eb",
  "rgb": {
    "r": 194,
    "g": 132,
    "b": 235
  },
  "hsl": {
    "h": 276.117,
    "s": 72.028,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71499,
    "c": 0.15744,
    "h": 310.7
  },
  "luminance": 0.3397
}

Semantic roles & 50–950 ramp

primary
#C284EB
secondary
#E3F2D8
accent
#D4115F
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C284EB

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

Preview Lab → · Contrast checker → · Palette generator →

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