#C282ED#C282ED

#C282ED is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.3% C 0.163 H 310.4°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#C282ED
RGBrgb(194, 130, 237)
HSLhsl(276, 75%, 72%)
HSVhsv(276, 45%, 93%)
CMYKcmyk(18.1%, 45.1%, 0%, 7.1%)
CIE-LABlab(64.60, 43.75, -44.59)
CIE-LCHlch(64.60, 62.47, 314.45°)
OKLaboklab(71.28% 0.1057 -0.1241)
OKLCHoklch(71.28% 0.163 310.4)
XYZxyz(45.5140, 33.5498, 84.1824)
Luminance0.3355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C282ED #ADED82
analogous
#8D82ED #C282ED #ED82E2
triadic
#C282ED #EDC282 #82EDC2
tetradic
#C282ED #ED8D82 #ADED82 #82E2ED
square
#C282ED #ED8D82 #ADED82 #82E2ED
split-complementary
#C282ED #E2ED82 #82ED8D
monochromatic
#8C1FD6 #A84DE5 #C282ED #DCB7F5 #F2E4FB

Accessibility & contrast

On white

2.72
#C282ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#C282ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C282ED
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C282ED#FFFFFF#000000##000000
##C282ED1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF1
Deuteranopia (green-blind)
#7B9EEA
Tritanopia (blue-blind)
#BD93AC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c282ed;
/* rgb */ color: rgb(194, 130, 237);
/* oklch */ color: oklch(71.3% 0.163 310.4);
Tailwind
colors: {
  custom: {
    50: '#d6a8f3',
    500: '#c282ed',
    950: '#000000',
  },
}
SCSS
$custom: #c282ed;
$custom-light: #d6a8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c282ed",
  "rgb": {
    "r": 194,
    "g": 130,
    "b": 237
  },
  "hsl": {
    "h": 275.888,
    "s": 74.825,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71278,
    "c": 0.16303,
    "h": 310.4
  },
  "luminance": 0.33549
}

Semantic roles & 50–950 ramp

primary
#C282ED
secondary
#E3F3D8
accent
#D70F5F
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C282ED

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

Preview Lab → · Contrast checker → · Palette generator →

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