#C276FA#C276FA

#C276FA is a light, vivid violet. Relative luminance 0.313; OKLCH L 70.1% C 0.197 H 308.8°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#C276FA
RGBrgb(194, 118, 250)
HSLhsl(275, 93%, 72%)
HSVhsv(275, 53%, 98%)
CMYKcmyk(22.4%, 52.8%, 0%, 2%)
CIE-LABlab(62.78, 52.91, -54.64)
CIE-LCHlch(62.78, 76.06, 314.08°)
OKLaboklab(70.14% 0.1231 -0.1533)
OKLCHoklch(70.14% 0.197 308.8)
XYZxyz(45.9785, 31.3290, 94.0489)
Luminance0.3133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C276FA #AEFA76
analogous
#8076FA #C276FA #FA76F0
triadic
#C276FA #FAC276 #76FAC2
tetradic
#C276FA #FA8076 #AEFA76 #76F0FA
square
#C276FA #FA8076 #AEFA76 #76F0FA
split-complementary
#C276FA #F0FA76 #76FA80
monochromatic
#8C09ED #A83BF8 #C276FA #DCB1FC #F2E1FE

Accessibility & contrast

On white

2.89
#C276FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#C276FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C276FA
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C276FA#FFFFFF#000000##000000
##C276FA1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E95FE
Deuteranopia (green-blind)
#6799F7
Tritanopia (blue-blind)
#BA8DAD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c276fa;
/* rgb */ color: rgb(194, 118, 250);
/* oklch */ color: oklch(70.1% 0.197 308.8);
Tailwind
colors: {
  custom: {
    50: '#d7a0fc',
    500: '#c276fa',
    950: '#000000',
  },
}
SCSS
$custom: #c276fa;
$custom-light: #d7a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c276fa",
  "rgb": {
    "r": 194,
    "g": 118,
    "b": 250
  },
  "hsl": {
    "h": 274.545,
    "s": 92.958,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70137,
    "c": 0.19658,
    "h": 308.8
  },
  "luminance": 0.31328
}

Semantic roles & 50–950 ramp

primary
#C276FA
secondary
#E3F6D5
accent
#E60061
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C276FA

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

Preview Lab → · Contrast checker → · Palette generator →

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