#C276EB#C276EB

#C276EB is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.3% C 0.180 H 312.6°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#C276EB
RGBrgb(194, 118, 235)
HSLhsl(279, 75%, 69%)
HSVhsv(279, 50%, 92%)
CMYKcmyk(17.4%, 49.8%, 0%, 7.8%)
CIE-LABlab(62.02, 49.67, -47.56)
CIE-LCHlch(62.02, 68.77, 316.25°)
OKLaboklab(69.32% 0.1218 -0.1326)
OKLCHoklch(69.32% 0.18 312.6)
XYZxyz(43.7194, 30.4253, 82.1508)
Luminance0.3042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C276EB #9FEB76
analogous
#8876EB #C276EB #EB76DA
triadic
#C276EB #EBC276 #76EBC2
tetradic
#C276EB #EB8876 #9FEB76 #76DAEB
square
#C276EB #EB8876 #9FEB76 #76DAEB
split-complementary
#C276EB #DAEB76 #76EB88
monochromatic
#8D1DC9 #AA41E3 #C276EB #DAABF3 #F2E1FB

Accessibility & contrast

On white

2.96
#C276EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#C276EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C276EB
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C276EB#FFFFFF#000000##000000
##C276EB1.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92EF
Deuteranopia (green-blind)
#7198E8
Tritanopia (blue-blind)
#BE89A6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c276eb;
/* rgb */ color: rgb(194, 118, 235);
/* oklch */ color: oklch(69.3% 0.180 312.6);
Tailwind
colors: {
  custom: {
    50: '#d7a0f2',
    500: '#c276eb',
    950: '#000000',
  },
}
SCSS
$custom: #c276eb;
$custom-light: #d7a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c276eb",
  "rgb": {
    "r": 194,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 278.974,
    "s": 74.522,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69323,
    "c": 0.18009,
    "h": 312.6
  },
  "luminance": 0.30424
}

Semantic roles & 50–950 ramp

primary
#C276EB
secondary
#D9EFCD
accent
#D70F55
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C276EB

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

Preview Lab → · Contrast checker → · Palette generator →

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