#C281EF#C281EF

#C281EF is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.2% C 0.167 H 310.0°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#C281EF
RGBrgb(194, 129, 239)
HSLhsl(275, 77%, 72%)
HSVhsv(275, 46%, 94%)
CMYKcmyk(18.8%, 46%, 0%, 6.3%)
CIE-LABlab(64.49, 44.72, -45.88)
CIE-LCHlch(64.49, 64.07, 314.26°)
OKLaboklab(71.22% 0.1074 -0.1278)
OKLCHoklch(71.22% 0.167 310)
XYZxyz(45.6755, 33.4026, 85.6858)
Luminance0.3340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C281EF #AEEF81
analogous
#8B81EF #C281EF #EF81E5
triadic
#C281EF #EFC281 #81EFC2
tetradic
#C281EF #EF8B81 #AEEF81 #81E5EF
square
#C281EF #EF8B81 #AEEF81 #81E5EF
split-complementary
#C281EF #E5EF81 #81EF8B
monochromatic
#8C1CDA #A84BE8 #C281EF #DCB7F6 #F2E4FC

Accessibility & contrast

On white

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

On black

7.68
#C281EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C281EF
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C281EF#FFFFFF#000000##000000
##C281EF1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F3
Deuteranopia (green-blind)
#799EEC
Tritanopia (blue-blind)
#BD92AD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c281ef;
/* rgb */ color: rgb(194, 129, 239);
/* oklch */ color: oklch(71.2% 0.167 310.0);
Tailwind
colors: {
  custom: {
    50: '#d6a7f4',
    500: '#c281ef',
    950: '#000000',
  },
}
SCSS
$custom: #c281ef;
$custom-light: #d6a7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c281ef",
  "rgb": {
    "r": 194,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 275.455,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71221,
    "c": 0.16695,
    "h": 310
  },
  "luminance": 0.33402
}

Semantic roles & 50–950 ramp

primary
#C281EF
secondary
#E3F3D8
accent
#DA0C60
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C281EF

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

Preview Lab → · Contrast checker → · Palette generator →

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