#C076F2#C076F2

#C076F2 is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.5% C 0.187 H 309.9°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#C076F2
RGBrgb(192, 118, 242)
HSLhsl(276, 83%, 71%)
HSVhsv(276, 51%, 95%)
CMYKcmyk(20.7%, 51.2%, 0%, 5.1%)
CIE-LABlab(62.15, 50.65, -51.25)
CIE-LCHlch(62.15, 72.06, 314.67°)
OKLaboklab(69.48% 0.1201 -0.1434)
OKLCHoklch(69.48% 0.187 309.9)
XYZxyz(44.2407, 30.5749, 87.5581)
Luminance0.3057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C076F2 #A8F276
analogous
#8276F2 #C076F2 #F276E6
triadic
#C076F2 #F2C076 #76F2C0
tetradic
#C076F2 #F28276 #A8F276 #76E6F2
square
#C076F2 #F28276 #A8F276 #76E6F2
split-complementary
#C076F2 #E6F276 #76F282
monochromatic
#8A15D9 #A63EED #C076F2 #DAAEF7 #F2E3FC

Accessibility & contrast

On white

2.95
#C076F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#C076F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C076F2
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C076F2#FFFFFF#000000##000000
##C076F21.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5493F6
Deuteranopia (green-blind)
#6B97EF
Tritanopia (blue-blind)
#BA8BA9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c076f2;
/* rgb */ color: rgb(192, 118, 242);
/* oklch */ color: oklch(69.5% 0.187 309.9);
Tailwind
colors: {
  custom: {
    50: '#d6a0f7',
    500: '#c076f2',
    950: '#000000',
  },
}
SCSS
$custom: #c076f2;
$custom-light: #d6a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c076f2",
  "rgb": {
    "r": 192,
    "g": 118,
    "b": 242
  },
  "hsl": {
    "h": 275.806,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69482,
    "c": 0.18707,
    "h": 309.9
  },
  "luminance": 0.30574
}

Semantic roles & 50–950 ramp

primary
#C076F2
secondary
#DFF3D1
accent
#DF065E
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C076F2

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

Preview Lab → · Contrast checker → · Palette generator →

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