#C684FC#C684FC

#C684FC is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.8% C 0.178 H 307.9°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#C684FC
RGBrgb(198, 132, 252)
HSLhsl(273, 95%, 75%)
HSVhsv(273, 48%, 99%)
CMYKcmyk(21.4%, 47.6%, 0%, 1.2%)
CIE-LABlab(66.16, 47.05, -50.35)
CIE-LCHlch(66.16, 68.91, 313.06°)
OKLaboklab(72.77% 0.1097 -0.1407)
OKLCHoklch(72.77% 0.178 307.9)
XYZxyz(49.1072, 35.5372, 96.3489)
Luminance0.3554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C684FC #BAFC84
analogous
#8A84FC #C684FC #FC84F6
triadic
#C684FC #FCC684 #84FCC6
tetradic
#C684FC #FC8A84 #BAFC84 #84F6FC
square
#C684FC #FC8A84 #BAFC84 #84F6FC
split-complementary
#C684FC #F6FC84 #84FC8A
monochromatic
#8F0DF9 #AA48FB #C684FC #E2C0FD #F1E1FE

Accessibility & contrast

On white

2.59
#C684FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#C684FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C684FC
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C684FC#FFFFFF#000000##000000
##C684FC1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#77A2F9
Tritanopia (blue-blind)
#BE98B4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c684fc;
/* rgb */ color: rgb(198, 132, 252);
/* oklch */ color: oklch(72.8% 0.178 307.9);
Tailwind
colors: {
  custom: {
    50: '#d9a9fe',
    500: '#c684fc',
    950: '#000000',
  },
}
SCSS
$custom: #c684fc;
$custom-light: #d9a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c684fc",
  "rgb": {
    "r": 198,
    "g": 132,
    "b": 252
  },
  "hsl": {
    "h": 273,
    "s": 95.238,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72772,
    "c": 0.17845,
    "h": 307.9
  },
  "luminance": 0.35537
}

Semantic roles & 50–950 ramp

primary
#C684FC
secondary
#E4F6D5
accent
#E60067
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C684FC

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

Preview Lab → · Contrast checker → · Palette generator →

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