#C282EB#C282EB

#C282EB is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.2% C 0.161 H 311.0°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#C282EB
RGBrgb(194, 130, 235)
HSLhsl(277, 72%, 72%)
HSVhsv(277, 45%, 92%)
CMYKcmyk(17.4%, 44.7%, 0%, 7.8%)
CIE-LABlab(64.51, 43.31, -43.63)
CIE-LCHlch(64.51, 61.48, 314.79°)
OKLaboklab(71.18% 0.1054 -0.1213)
OKLCHoklch(71.18% 0.161 311)
XYZxyz(45.2235, 33.4335, 82.6521)
Luminance0.3343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C282EB #ABEB82
analogous
#8E82EB #C282EB #EB82E0
triadic
#C282EB #EBC282 #82EBC2
tetradic
#C282EB #EB8E82 #ABEB82 #82E0EB
square
#C282EB #EB8E82 #ABEB82 #82E0EB
split-complementary
#C282EB #E0EB82 #82EB8E
monochromatic
#8D21D1 #A84DE3 #C282EB #DCB7F3 #F2E5FB

Accessibility & contrast

On white

2.73
#C282EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#C282EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C282EB
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C282EB#FFFFFF#000000##000000
##C282EB1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B99EF
Deuteranopia (green-blind)
#7C9EE8
Tritanopia (blue-blind)
#BD92AB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c282eb;
/* rgb */ color: rgb(194, 130, 235);
/* oklch */ color: oklch(71.2% 0.161 311.0);
Tailwind
colors: {
  custom: {
    50: '#d6a8f2',
    500: '#c282eb',
    950: '#000000',
  },
}
SCSS
$custom: #c282eb;
$custom-light: #d6a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c282eb",
  "rgb": {
    "r": 194,
    "g": 130,
    "b": 235
  },
  "hsl": {
    "h": 276.571,
    "s": 72.414,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71178,
    "c": 0.16073,
    "h": 311
  },
  "luminance": 0.33433
}

Semantic roles & 50–950 ramp

primary
#C282EB
secondary
#E1F2D7
accent
#D4115D
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C282EB

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

Preview Lab → · Contrast checker → · Palette generator →

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