#C676F2#C676F2

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

Color values

HEX#C676F2
RGBrgb(198, 118, 242)
HSLhsl(279, 83%, 71%)
HSVhsv(279, 51%, 95%)
CMYKcmyk(18.2%, 51.2%, 0%, 5.1%)
CIE-LABlab(62.82, 52.22, -50.13)
CIE-LCHlch(62.82, 72.39, 316.17°)
OKLaboklab(70.13% 0.1273 -0.14)
OKLCHoklch(70.13% 0.189 312.3)
XYZxyz(45.7914, 31.3745, 87.6308)
Luminance0.3137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C676F2 #A2F276
analogous
#8876F2 #C676F2 #F276E0
triadic
#C676F2 #F2C676 #76F2C6
tetradic
#C676F2 #F28876 #A2F276 #76E0F2
square
#C676F2 #F28876 #A2F276 #76E0F2
split-complementary
#C676F2 #E0F276 #76F288
monochromatic
#9315D9 #AF3EED #C676F2 #DDAEF7 #F3E3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C676F2#FFFFFF#000000##000000
##C676F21.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)
#5794F6
Deuteranopia (green-blind)
#709AEF
Tritanopia (blue-blind)
#C18AA9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c676f2;
/* rgb */ color: rgb(198, 118, 242);
/* oklch */ color: oklch(70.1% 0.189 312.3);
Tailwind
colors: {
  custom: {
    50: '#daa0f7',
    500: '#c676f2',
    950: '#000000',
  },
}
SCSS
$custom: #c676f2;
$custom-light: #daa0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c676f2",
  "rgb": {
    "r": 198,
    "g": 118,
    "b": 242
  },
  "hsl": {
    "h": 278.71,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70131,
    "c": 0.18923,
    "h": 312.3
  },
  "luminance": 0.31373
}

Semantic roles & 50–950 ramp

primary
#C676F2
secondary
#DDF3D1
accent
#DF0653
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C676F2

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

Preview Lab → · Contrast checker → · Palette generator →

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