#C281EA#C281EA

#C281EA is a light, vivid violet. Relative luminance 0.331; OKLCH L 71.0% C 0.161 H 311.4°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#C281EA
RGBrgb(194, 129, 234)
HSLhsl(277, 71%, 71%)
HSVhsv(277, 45%, 92%)
CMYKcmyk(17.1%, 44.9%, 0%, 8.2%)
CIE-LABlab(64.25, 43.64, -43.49)
CIE-LCHlch(64.25, 61.61, 315.10°)
OKLaboklab(70.97% 0.1067 -0.1209)
OKLCHoklch(70.97% 0.161 311.4)
XYZxyz(44.9470, 33.1112, 81.8493)
Luminance0.3311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C281EA #A9EA81
analogous
#8D81EA #C281EA #EA81DD
triadic
#C281EA #EAC281 #81EAC2
tetradic
#C281EA #EA8D81 #A9EA81 #81DDEA
square
#C281EA #EA8D81 #A9EA81 #81DDEA
split-complementary
#C281EA #DDEA81 #81EA8D
monochromatic
#8D22CE #A94DE1 #C281EA #DBB5F3 #F2E5FB

Accessibility & contrast

On white

2.76
#C281EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#C281EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C281EA
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C281EA#FFFFFF#000000##000000
##C281EA1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A98EE
Deuteranopia (green-blind)
#7B9DE7
Tritanopia (blue-blind)
#BE91AA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c281ea;
/* rgb */ color: rgb(194, 129, 234);
/* oklch */ color: oklch(71.0% 0.161 311.4);
Tailwind
colors: {
  custom: {
    50: '#d6a7f1',
    500: '#c281ea',
    950: '#000000',
  },
}
SCSS
$custom: #c281ea;
$custom-light: #d6a7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c281ea",
  "rgb": {
    "r": 194,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 277.143,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70969,
    "c": 0.16122,
    "h": 311.4
  },
  "luminance": 0.3311
}

Semantic roles & 50–950 ramp

primary
#C281EA
secondary
#E0F1D6
accent
#D3125C
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #C281EA

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

Preview Lab → · Contrast checker → · Palette generator →

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