#C276F8#C276F8

#C276F8 is a light, vivid violet. Relative luminance 0.312; OKLCH L 70.0% C 0.194 H 309.2°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#C276F8
RGBrgb(194, 118, 248)
HSLhsl(275, 90%, 72%)
HSVhsv(275, 52%, 97%)
CMYKcmyk(21.8%, 52.4%, 0%, 2.7%)
CIE-LABlab(62.68, 52.48, -53.70)
CIE-LCHlch(62.68, 75.08, 314.34°)
OKLaboklab(70.03% 0.123 -0.1505)
OKLCHoklch(70.03% 0.194 309.2)
XYZxyz(45.6666, 31.2042, 92.4060)
Luminance0.3120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C276F8 #ACF876
analogous
#8176F8 #C276F8 #F876ED
triadic
#C276F8 #F8C276 #76F8C2
tetradic
#C276F8 #F88176 #ACF876 #76EDF8
square
#C276F8 #F88176 #ACF876 #76EDF8
split-complementary
#C276F8 #EDF876 #76F881
monochromatic
#8C0CE8 #A83CF5 #C276F8 #DCB0FB #F2E2FE

Accessibility & contrast

On white

2.90
#C276F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#C276F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C276F8
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C276F8#FFFFFF#000000##000000
##C276F81.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5094FC
Deuteranopia (green-blind)
#6999F5
Tritanopia (blue-blind)
#BB8DAC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c276f8;
/* rgb */ color: rgb(194, 118, 248);
/* oklch */ color: oklch(70.0% 0.194 309.2);
Tailwind
colors: {
  custom: {
    50: '#d7a0fb',
    500: '#c276f8',
    950: '#000000',
  },
}
SCSS
$custom: #c276f8;
$custom-light: #d7a0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c276f8",
  "rgb": {
    "r": 194,
    "g": 118,
    "b": 248
  },
  "hsl": {
    "h": 275.077,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70026,
    "c": 0.19437,
    "h": 309.2
  },
  "luminance": 0.31204
}

Semantic roles & 50–950 ramp

primary
#C276F8
secondary
#E2F5D4
accent
#E6005F
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C276F8

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

Preview Lab → · Contrast checker → · Palette generator →

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