#C276EC#C276EC

#C276EC is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.4% C 0.181 H 312.3°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#C276EC
RGBrgb(194, 118, 236)
HSLhsl(279, 76%, 69%)
HSVhsv(279, 50%, 93%)
CMYKcmyk(17.8%, 50%, 0%, 7.5%)
CIE-LABlab(62.07, 49.89, -48.03)
CIE-LCHlch(62.07, 69.25, 316.08°)
OKLaboklab(69.38% 0.1219 -0.134)
OKLCHoklch(69.38% 0.181 312.3)
XYZxyz(43.8643, 30.4833, 82.9138)
Luminance0.3048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C276EC #A0EC76
analogous
#8776EC #C276EC #EC76DB
triadic
#C276EC #ECC276 #76ECC2
tetradic
#C276EC #EC8776 #A0EC76 #76DBEC
square
#C276EC #EC8776 #A0EC76 #76DBEC
split-complementary
#C276EC #DBEC76 #76EC87
monochromatic
#8D1CCB #AA40E5 #C276EC #DAACF3 #F2E1FB

Accessibility & contrast

On white

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

On black

7.10
#C276EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C276EC
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C276EC#FFFFFF#000000##000000
##C276EC1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5992F0
Deuteranopia (green-blind)
#7098E9
Tritanopia (blue-blind)
#BE89A6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c276ec;
/* rgb */ color: rgb(194, 118, 236);
/* oklch */ color: oklch(69.4% 0.181 312.3);
Tailwind
colors: {
  custom: {
    50: '#d7a0f2',
    500: '#c276ec',
    950: '#000000',
  },
}
SCSS
$custom: #c276ec;
$custom-light: #d7a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c276ec",
  "rgb": {
    "r": 194,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 278.644,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69376,
    "c": 0.18118,
    "h": 312.3
  },
  "luminance": 0.30482
}

Semantic roles & 50–950 ramp

primary
#C276EC
secondary
#DAF0CE
accent
#D80E56
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C276EC

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

Preview Lab → · Contrast checker → · Palette generator →

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