#C688EF#C688EF

#C688EF is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.8% C 0.157 H 310.7°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#C688EF
RGBrgb(198, 136, 239)
HSLhsl(276, 76%, 74%)
HSVhsv(276, 43%, 94%)
CMYKcmyk(17.2%, 43.1%, 0%, 6.3%)
CIE-LABlab(66.40, 42.07, -42.84)
CIE-LCHlch(66.40, 60.04, 314.48°)
OKLaboklab(72.75% 0.1025 -0.119)
OKLCHoklch(72.75% 0.157 310.7)
XYZxyz(47.6701, 35.8469, 86.0525)
Luminance0.3585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C688EF #B1EF88
analogous
#9288EF #C688EF #EF88E4
triadic
#C688EF #EFC688 #88EFC6
tetradic
#C688EF #EF9288 #B1EF88 #88E4EF
square
#C688EF #EF9288 #B1EF88 #88E4EF
split-complementary
#C688EF #E4EF88 #88EF92
monochromatic
#921EDF #AC52E8 #C688EF #E0BEF6 #F2E4FB

Accessibility & contrast

On white

2.57
#C688EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#C688EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C688EF
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C688EF#FFFFFF#000000##000000
##C688EF1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#729EF3
Deuteranopia (green-blind)
#82A3EC
Tritanopia (blue-blind)
#C198B0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c688ef;
/* rgb */ color: rgb(198, 136, 239);
/* oklch */ color: oklch(72.8% 0.157 310.7);
Tailwind
colors: {
  custom: {
    50: '#d9acf4',
    500: '#c688ef',
    950: '#000000',
  },
}
SCSS
$custom: #c688ef;
$custom-light: #d9acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#c688ef",
  "rgb": {
    "r": 198,
    "g": 136,
    "b": 239
  },
  "hsl": {
    "h": 276.117,
    "s": 76.296,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7275,
    "c": 0.157,
    "h": 310.7
  },
  "luminance": 0.35846
}

Semantic roles & 50–950 ramp

primary
#C688EF
secondary
#E3F3D8
accent
#D80D5E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C688EF

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

Preview Lab → · Contrast checker → · Palette generator →

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