#C282EC#C282EC

#C282EC is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.2% C 0.162 H 310.7°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#C282EC
RGBrgb(194, 130, 236)
HSLhsl(276, 74%, 72%)
HSVhsv(276, 45%, 93%)
CMYKcmyk(17.8%, 44.9%, 0%, 7.5%)
CIE-LABlab(64.56, 43.53, -44.11)
CIE-LCHlch(64.56, 61.97, 314.62°)
OKLaboklab(71.23% 0.1056 -0.1227)
OKLCHoklch(71.23% 0.162 310.7)
XYZxyz(45.3684, 33.4915, 83.4151)
Luminance0.3349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C282EC #ACEC82
analogous
#8D82EC #C282EC #EC82E1
triadic
#C282EC #ECC282 #82ECC2
tetradic
#C282EC #EC8D82 #ACEC82 #82E1EC
square
#C282EC #EC8D82 #ACEC82 #82E1EC
split-complementary
#C282EC #E1EC82 #82EC8D
monochromatic
#8C20D3 #A84DE4 #C282EC #DCB7F4 #F2E4FB

Accessibility & contrast

On white

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

On black

7.70
#C282EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C282EC
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C282EC#FFFFFF#000000##000000
##C282EC1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99F0
Deuteranopia (green-blind)
#7B9EE9
Tritanopia (blue-blind)
#BD92AC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c282ec;
/* rgb */ color: rgb(194, 130, 236);
/* oklch */ color: oklch(71.2% 0.162 310.7);
Tailwind
colors: {
  custom: {
    50: '#d6a8f2',
    500: '#c282ec',
    950: '#000000',
  },
}
SCSS
$custom: #c282ec;
$custom-light: #d6a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c282ec",
  "rgb": {
    "r": 194,
    "g": 130,
    "b": 236
  },
  "hsl": {
    "h": 276.226,
    "s": 73.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71228,
    "c": 0.16188,
    "h": 310.7
  },
  "luminance": 0.33491
}

Semantic roles & 50–950 ramp

primary
#C282EC
secondary
#E2F2D7
accent
#D6105E
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C282EC

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

Preview Lab → · Contrast checker → · Palette generator →

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