#C281EB#C281EB

#C281EB is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.0% C 0.162 H 311.1°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#C281EB
RGBrgb(194, 129, 235)
HSLhsl(277, 73%, 71%)
HSVhsv(277, 45%, 92%)
CMYKcmyk(17.4%, 45.1%, 0%, 7.8%)
CIE-LABlab(64.30, 43.85, -43.97)
CIE-LCHlch(64.30, 62.10, 314.92°)
OKLaboklab(71.02% 0.1068 -0.1223)
OKLCHoklch(71.02% 0.162 311.1)
XYZxyz(45.0911, 33.1688, 82.6080)
Luminance0.3317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C281EB #AAEB81
analogous
#8D81EB #C281EB #EB81DF
triadic
#C281EB #EBC281 #81EBC2
tetradic
#C281EB #EB8D81 #AAEB81 #81DFEB
square
#C281EB #EB8D81 #AAEB81 #81DFEB
split-complementary
#C281EB #DFEB81 #81EB8D
monochromatic
#8D21D1 #A84CE3 #C281EB #DCB6F3 #F2E5FB

Accessibility & contrast

On white

2.75
#C281EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#C281EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C281EB
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C281EB#FFFFFF#000000##000000
##C281EB1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99EF
Deuteranopia (green-blind)
#7B9DE8
Tritanopia (blue-blind)
#BE91AB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c281eb;
/* rgb */ color: rgb(194, 129, 235);
/* oklch */ color: oklch(71.0% 0.162 311.1);
Tailwind
colors: {
  custom: {
    50: '#d6a7f2',
    500: '#c281eb',
    950: '#000000',
  },
}
SCSS
$custom: #c281eb;
$custom-light: #d6a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c281eb",
  "rgb": {
    "r": 194,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 276.792,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71019,
    "c": 0.16236,
    "h": 311.1
  },
  "luminance": 0.33168
}

Semantic roles & 50–950 ramp

primary
#C281EB
secondary
#E1F2D6
accent
#D5115D
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C281EB

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

Preview Lab → · Contrast checker → · Palette generator →

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