#C282EA#C282EA

#C282EA is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.1% C 0.160 H 311.3°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#C282EA
RGBrgb(194, 130, 234)
HSLhsl(277, 71%, 71%)
HSVhsv(277, 44%, 92%)
CMYKcmyk(17.1%, 44.4%, 0%, 8.2%)
CIE-LABlab(64.46, 43.10, -43.15)
CIE-LCHlch(64.46, 60.99, 314.96°)
OKLaboklab(71.13% 0.1053 -0.1199)
OKLCHoklch(71.13% 0.16 311.3)
XYZxyz(45.0794, 33.3759, 81.8934)
Luminance0.3337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C282EA #AAEA82
analogous
#8E82EA #C282EA #EA82DE
triadic
#C282EA #EAC282 #82EAC2
tetradic
#C282EA #EA8E82 #AAEA82 #82DEEA
square
#C282EA #EA8E82 #AAEA82 #82DEEA
split-complementary
#C282EA #DEEA82 #82EA8E
monochromatic
#8D23CF #A84EE1 #C282EA #DCB6F3 #F2E5FB

Accessibility & contrast

On white

2.74
#C282EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#C282EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C282EA
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C282EA#FFFFFF#000000##000000
##C282EA1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C99EE
Deuteranopia (green-blind)
#7C9EE7
Tritanopia (blue-blind)
#BE92AB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c282ea;
/* rgb */ color: rgb(194, 130, 234);
/* oklch */ color: oklch(71.1% 0.160 311.3);
Tailwind
colors: {
  custom: {
    50: '#d6a7f1',
    500: '#c282ea',
    950: '#000000',
  },
}
SCSS
$custom: #c282ea;
$custom-light: #d6a7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c282ea",
  "rgb": {
    "r": 194,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 276.923,
    "s": 71.233,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71128,
    "c": 0.15958,
    "h": 311.3
  },
  "luminance": 0.33375
}

Semantic roles & 50–950 ramp

primary
#C282EA
secondary
#E1F1D6
accent
#D3125C
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C282EA

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

Preview Lab → · Contrast checker → · Palette generator →

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