#C282EF#C282EF

#C282EF is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.4% C 0.165 H 309.9°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#C282EF
RGBrgb(194, 130, 239)
HSLhsl(275, 77%, 72%)
HSVhsv(275, 46%, 94%)
CMYKcmyk(18.8%, 45.6%, 0%, 6.3%)
CIE-LABlab(64.70, 44.18, -45.55)
CIE-LCHlch(64.70, 63.45, 314.13°)
OKLaboklab(71.38% 0.106 -0.1269)
OKLCHoklch(71.38% 0.165 309.9)
XYZxyz(45.8079, 33.6673, 85.7299)
Luminance0.3367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C282EF #AFEF82
analogous
#8B82EF #C282EF #EF82E6
triadic
#C282EF #EFC282 #82EFC2
tetradic
#C282EF #EF8B82 #AFEF82 #82E6EF
square
#C282EF #EF8B82 #AFEF82 #82E6EF
split-complementary
#C282EF #E6EF82 #82EF8B
monochromatic
#8C1CDB #A84CE8 #C282EF #DCB8F6 #F2E4FC

Accessibility & contrast

On white

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

On black

7.73
#C282EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C282EF
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C282EF#FFFFFF#000000##000000
##C282EF1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF3
Deuteranopia (green-blind)
#7A9EEC
Tritanopia (blue-blind)
#BD93AD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c282ef;
/* rgb */ color: rgb(194, 130, 239);
/* oklch */ color: oklch(71.4% 0.165 309.9);
Tailwind
colors: {
  custom: {
    50: '#d6a8f4',
    500: '#c282ef',
    950: '#000000',
  },
}
SCSS
$custom: #c282ef;
$custom-light: #d6a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c282ef",
  "rgb": {
    "r": 194,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 275.229,
    "s": 77.305,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71379,
    "c": 0.16533,
    "h": 309.9
  },
  "luminance": 0.33667
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C282EF

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

Preview Lab → · Contrast checker → · Palette generator →

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