#C276FD#C276FD

#C276FD is a light, vivid violet. Relative luminance 0.315; OKLCH L 70.3% C 0.200 H 308.1°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#C276FD
RGBrgb(194, 118, 253)
HSLhsl(274, 97%, 73%)
HSVhsv(274, 53%, 99%)
CMYKcmyk(23.3%, 53.4%, 0%, 0.8%)
CIE-LABlab(62.94, 53.58, -56.03)
CIE-LCHlch(62.94, 77.52, 313.72°)
OKLaboklab(70.3% 0.1233 -0.1573)
OKLCHoklch(70.3% 0.2 308.1)
XYZxyz(46.4527, 31.5187, 96.5460)
Luminance0.3152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C276FD #B1FD76
analogous
#7F76FD #C276FD #FD76F4
triadic
#C276FD #FDC276 #76FDC2
tetradic
#C276FD #FD7F76 #B1FD76 #76F4FD
square
#C276FD #FD7F76 #B1FD76 #76F4FD
split-complementary
#C276FD #F4FD76 #76FD7F
monochromatic
#8C04F5 #A73AFC #C276FD #DDB2FE #F2E1FF

Accessibility & contrast

On white

2.88
#C276FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#C276FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C276FD
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C276FD#FFFFFF#000000##000000
##C276FD1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C95FF
Deuteranopia (green-blind)
#6599FA
Tritanopia (blue-blind)
#B98EAF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c276fd;
/* rgb */ color: rgb(194, 118, 253);
/* oklch */ color: oklch(70.3% 0.200 308.1);
Tailwind
colors: {
  custom: {
    50: '#d7a0ff',
    500: '#c276fd',
    950: '#000000',
  },
}
SCSS
$custom: #c276fd;
$custom-light: #d7a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c276fd",
  "rgb": {
    "r": 194,
    "g": 118,
    "b": 253
  },
  "hsl": {
    "h": 273.778,
    "s": 97.122,
    "l": 72.745
  },
  "oklch": {
    "l": 0.70305,
    "c": 0.19989,
    "h": 308.1
  },
  "luminance": 0.31518
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C276FD

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

Preview Lab → · Contrast checker → · Palette generator →

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