#C481EC#C481EC

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

Color values

HEX#C481EC
RGBrgb(196, 129, 236)
HSLhsl(278, 74%, 72%)
HSVhsv(278, 45%, 93%)
CMYKcmyk(16.9%, 45.3%, 0%, 7.5%)
CIE-LABlab(64.56, 44.62, -44.09)
CIE-LCHlch(64.56, 62.74, 315.34°)
OKLaboklab(71.28% 0.1093 -0.1226)
OKLCHoklch(71.28% 0.164 311.7)
XYZxyz(45.7529, 33.4933, 83.3952)
Luminance0.3349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C481EC #A9EC81
analogous
#8F81EC #C481EC #EC81DF
triadic
#C481EC #ECC481 #81ECC4
tetradic
#C481EC #EC8F81 #A9EC81 #81DFEC
square
#C481EC #EC8F81 #A9EC81 #81DFEC
split-complementary
#C481EC #DFEC81 #81EC8F
monochromatic
#9020D3 #AB4CE4 #C481EC #DDB6F4 #F3E4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C481EC#FFFFFF#000000##000000
##C481EC1.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)
#7C9EE9
Tritanopia (blue-blind)
#C091AB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c481ec;
/* rgb */ color: rgb(196, 129, 236);
/* oklch */ color: oklch(71.3% 0.164 311.7);
Tailwind
colors: {
  custom: {
    50: '#d8a7f2',
    500: '#c481ec',
    950: '#000000',
  },
}
SCSS
$custom: #c481ec;
$custom-light: #d8a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c481ec",
  "rgb": {
    "r": 196,
    "g": 129,
    "b": 236
  },
  "hsl": {
    "h": 277.57,
    "s": 73.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71277,
    "c": 0.16427,
    "h": 311.7
  },
  "luminance": 0.33492
}

Semantic roles & 50–950 ramp

primary
#C481EC
secondary
#E1F2D7
accent
#D6105A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C481EC

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

Preview Lab → · Contrast checker → · Palette generator →

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