#C276EF#C276EF

#C276EF is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.5% C 0.184 H 311.5°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#C276EF
RGBrgb(194, 118, 239)
HSLhsl(278, 79%, 70%)
HSVhsv(278, 51%, 94%)
CMYKcmyk(18.8%, 50.6%, 0%, 6.3%)
CIE-LABlab(62.22, 50.53, -49.46)
CIE-LCHlch(62.22, 70.71, 315.61°)
OKLaboklab(69.54% 0.1222 -0.1382)
OKLCHoklch(69.54% 0.184 311.5)
XYZxyz(44.3038, 30.6591, 85.2285)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C276EF #A3EF76
analogous
#8676EF #C276EF #EF76DF
triadic
#C276EF #EFC276 #76EFC2
tetradic
#C276EF #EF8676 #A3EF76 #76DFEF
square
#C276EF #EF8676 #A3EF76 #76DFEF
split-complementary
#C276EF #DFEF76 #76EF86
monochromatic
#8D19D2 #AA3FE9 #C276EF #DAADF5 #F3E4FC

Accessibility & contrast

On white

2.94
#C276EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#C276EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C276EF
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C276EF#FFFFFF#000000##000000
##C276EF1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5793F3
Deuteranopia (green-blind)
#6E98EC
Tritanopia (blue-blind)
#BD8AA8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c276ef;
/* rgb */ color: rgb(194, 118, 239);
/* oklch */ color: oklch(69.5% 0.184 311.5);
Tailwind
colors: {
  custom: {
    50: '#d7a0f5',
    500: '#c276ef',
    950: '#000000',
  },
}
SCSS
$custom: #c276ef;
$custom-light: #d7a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c276ef",
  "rgb": {
    "r": 194,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 277.686,
    "s": 79.085,
    "l": 70
  },
  "oklch": {
    "l": 0.69536,
    "c": 0.18447,
    "h": 311.5
  },
  "luminance": 0.30658
}

Semantic roles & 50–950 ramp

primary
#C276EF
secondary
#DCF1CF
accent
#DB0A58
background
#FDFAFF
surface
#FBF3FE
border
#D4CDD6
text
#150F17
muted
#837F85

Preview Lab

Preview with #C276EF

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

Preview Lab → · Contrast checker → · Palette generator →

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