#C684F5#C684F5

#C684F5 is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.4% C 0.170 H 309.7°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#C684F5
RGBrgb(198, 132, 245)
HSLhsl(275, 85%, 74%)
HSVhsv(275, 46%, 96%)
CMYKcmyk(19.2%, 46.1%, 0%, 3.9%)
CIE-LABlab(65.83, 45.52, -47.04)
CIE-LCHlch(65.83, 65.46, 314.06°)
OKLaboklab(72.41% 0.1089 -0.1311)
OKLCHoklch(72.41% 0.17 309.7)
XYZxyz(48.0183, 35.1016, 90.6142)
Luminance0.3510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C684F5 #B3F584
analogous
#8E84F5 #C684F5 #F584EC
triadic
#C684F5 #F5C684 #84F5C6
tetradic
#C684F5 #F58E84 #B3F584 #84ECF5
square
#C684F5 #F58E84 #B3F584 #84ECF5
split-complementary
#C684F5 #ECF584 #84F58E
monochromatic
#9113EB #AC4BF0 #C684F5 #E0BDFA #F2E3FD

Accessibility & contrast

On white

2.62
#C684F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#C684F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C684F5
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C684F5#FFFFFF#000000##000000
##C684F51.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#699DF9
Deuteranopia (green-blind)
#7BA1F2
Tritanopia (blue-blind)
#C096B1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c684f5;
/* rgb */ color: rgb(198, 132, 245);
/* oklch */ color: oklch(72.4% 0.170 309.7);
Tailwind
colors: {
  custom: {
    50: '#d9a9f9',
    500: '#c684f5',
    950: '#000000',
  },
}
SCSS
$custom: #c684f5;
$custom-light: #d9a9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c684f5",
  "rgb": {
    "r": 198,
    "g": 132,
    "b": 245
  },
  "hsl": {
    "h": 275.044,
    "s": 84.962,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72411,
    "c": 0.17041,
    "h": 309.7
  },
  "luminance": 0.35101
}

Semantic roles & 50–950 ramp

primary
#C684F5
secondary
#E3F5D6
accent
#E10460
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C684F5

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

Preview Lab → · Contrast checker → · Palette generator →

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