#C68DEC#C68DEC

#C68DEC is a light, vivid violet. Relative luminance 0.371; OKLCH L 73.4% C 0.145 H 310.8°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#C68DEC
RGBrgb(198, 141, 236)
HSLhsl(276, 71%, 74%)
HSVhsv(276, 40%, 93%)
CMYKcmyk(16.1%, 40.3%, 0%, 7.5%)
CIE-LABlab(67.36, 38.72, -39.69)
CIE-LCHlch(67.36, 55.45, 314.29°)
OKLaboklab(73.43% 0.0949 -0.1099)
OKLCHoklch(73.43% 0.145 310.8)
XYZxyz(47.9512, 37.1124, 83.9780)
Luminance0.3711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C68DEC #B3EC8D
analogous
#978DEC #C68DEC #EC8DE3
triadic
#C68DEC #ECC68D #8DECC6
tetradic
#C68DEC #EC978D #B3EC8D #8DE3EC
square
#C68DEC #EC978D #B3EC8D #8DE3EC
split-complementary
#C68DEC #E3EC8D #8DEC97
monochromatic
#9124DA #AC59E3 #C68DEC #E0C1F5 #F2E5FB

Accessibility & contrast

On white

2.49
#C68DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#C68DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C68DEC
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C68DEC#FFFFFF#000000##000000
##C68DEC1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA1F0
Deuteranopia (green-blind)
#88A5E9
Tritanopia (blue-blind)
#C29BB1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c68dec;
/* rgb */ color: rgb(198, 141, 236);
/* oklch */ color: oklch(73.4% 0.145 310.8);
Tailwind
colors: {
  custom: {
    50: '#d9aff2',
    500: '#c68dec',
    950: '#000000',
  },
}
SCSS
$custom: #c68dec;
$custom-light: #d9aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#c68dec",
  "rgb": {
    "r": 198,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 276,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73427,
    "c": 0.1452,
    "h": 310.8
  },
  "luminance": 0.37112
}

Semantic roles & 50–950 ramp

primary
#C68DEC
secondary
#E3F2D9
accent
#D3125F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C68DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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