#C684FB#C684FB

#C684FB is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.7% C 0.177 H 308.2°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#C684FB
RGBrgb(198, 132, 251)
HSLhsl(273, 94%, 75%)
HSVhsv(273, 47%, 98%)
CMYKcmyk(21.1%, 47.4%, 0%, 1.6%)
CIE-LABlab(66.12, 46.83, -49.88)
CIE-LCHlch(66.12, 68.42, 313.20°)
OKLaboklab(72.72% 0.1096 -0.1393)
OKLCHoklch(72.72% 0.177 308.2)
XYZxyz(48.9492, 35.4739, 95.5166)
Luminance0.3547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C684FB #B9FB84
analogous
#8A84FB #C684FB #FB84F5
triadic
#C684FB #FBC684 #84FBC6
tetradic
#C684FB #FB8A84 #B9FB84 #84F5FB
square
#C684FB #FB8A84 #B9FB84 #84F5FB
split-complementary
#C684FB #F5FB84 #84FB8A
monochromatic
#8F0DF7 #AB49F9 #C684FB #E1BFFD #F1E1FE

Accessibility & contrast

On white

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

On black

8.09
#C684FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C684FB
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C684FB#FFFFFF#000000##000000
##C684FB1.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c684fb;
/* rgb */ color: rgb(198, 132, 251);
/* oklch */ color: oklch(72.7% 0.177 308.2);
Tailwind
colors: {
  custom: {
    50: '#d9a9fd',
    500: '#c684fb',
    950: '#000000',
  },
}
SCSS
$custom: #c684fb;
$custom-light: #d9a9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c684fb",
  "rgb": {
    "r": 198,
    "g": 132,
    "b": 251
  },
  "hsl": {
    "h": 273.277,
    "s": 93.701,
    "l": 75.098
  },
  "oklch": {
    "l": 0.7272,
    "c": 0.1773,
    "h": 308.2
  },
  "luminance": 0.35473
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C684FB

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

Preview Lab → · Contrast checker → · Palette generator →

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