#C276FE#C276FE

#C276FE is a light, highly saturated violet. Relative luminance 0.316; OKLCH L 70.4% C 0.201 H 307.9°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#C276FE
RGBrgb(194, 118, 254)
HSLhsl(274, 99%, 73%)
HSVhsv(274, 54%, 100%)
CMYKcmyk(23.6%, 53.5%, 0%, 0.4%)
CIE-LABlab(63.00, 53.80, -56.50)
CIE-LCHlch(63.00, 78.01, 313.60°)
OKLaboklab(70.36% 0.1233 -0.1587)
OKLCHoklch(70.36% 0.201 307.9)
XYZxyz(46.6124, 31.5825, 97.3872)
Luminance0.3158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C276FE #B2FE76
analogous
#7E76FE #C276FE #FE76F6
triadic
#C276FE #FEC276 #76FEC2
tetradic
#C276FE #FE7E76 #B2FE76 #76F6FE
square
#C276FE #FE7E76 #B2FE76 #76F6FE
split-complementary
#C276FE #F6FE76 #76FE7E
monochromatic
#8B02F8 #A739FE #C276FE #DDB3FE #F1E1FF

Accessibility & contrast

On white

2.87
#C276FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#C276FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C276FE
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C276FE#FFFFFF#000000##000000
##C276FE1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B95FF
Deuteranopia (green-blind)
#6499FB
Tritanopia (blue-blind)
#B98FAF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c276fe;
/* rgb */ color: rgb(194, 118, 254);
/* oklch */ color: oklch(70.4% 0.201 307.9);
Tailwind
colors: {
  custom: {
    50: '#d7a0ff',
    500: '#c276fe',
    950: '#000000',
  },
}
SCSS
$custom: #c276fe;
$custom-light: #d7a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c276fe",
  "rgb": {
    "r": 194,
    "g": 118,
    "b": 254
  },
  "hsl": {
    "h": 273.529,
    "s": 98.551,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70362,
    "c": 0.20099,
    "h": 307.9
  },
  "luminance": 0.31582
}

Semantic roles & 50–950 ramp

primary
#C276FE
secondary
#E3F7D4
accent
#E60065
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C276FE

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

Preview Lab → · Contrast checker → · Palette generator →

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