#C684FE#C684FE

#C684FE is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.9% C 0.181 H 307.5°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#C684FE
RGBrgb(198, 132, 254)
HSLhsl(272, 98%, 76%)
HSVhsv(272, 48%, 100%)
CMYKcmyk(22%, 48%, 0%, 0.4%)
CIE-LABlab(66.26, 47.49, -51.29)
CIE-LCHlch(66.26, 69.90, 312.80°)
OKLaboklab(72.88% 0.11 -0.1434)
OKLCHoklch(72.88% 0.181 307.5)
XYZxyz(49.4258, 35.6646, 98.0269)
Luminance0.3566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C684FE #BCFE84
analogous
#8984FE #C684FE #FE84F9
triadic
#C684FE #FEC684 #84FEC6
tetradic
#C684FE #FE8984 #BCFE84 #84F9FE
square
#C684FE #FE8984 #BCFE84 #84F9FE
split-complementary
#C684FE #F9FE84 #84FE89
monochromatic
#8E0BFD #AA47FE #C684FE #E2C1FE #F1E1FF

Accessibility & contrast

On white

2.58
#C684FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#C684FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C684FE
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C684FE#FFFFFF#000000##000000
##C684FE1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#639FFF
Deuteranopia (green-blind)
#76A2FB
Tritanopia (blue-blind)
#BE99B5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c684fe;
/* rgb */ color: rgb(198, 132, 254);
/* oklch */ color: oklch(72.9% 0.181 307.5);
Tailwind
colors: {
  custom: {
    50: '#daa9ff',
    500: '#c684fe',
    950: '#000000',
  },
}
SCSS
$custom: #c684fe;
$custom-light: #daa9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c684fe",
  "rgb": {
    "r": 198,
    "g": 132,
    "b": 254
  },
  "hsl": {
    "h": 272.459,
    "s": 98.387,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72877,
    "c": 0.18075,
    "h": 307.5
  },
  "luminance": 0.35664
}

Semantic roles & 50–950 ramp

primary
#C684FE
secondary
#E4F7D4
accent
#E60069
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C684FE

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

Preview Lab → · Contrast checker → · Palette generator →

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