#C684F3#C684F3

#C684F3 is a light, vivid violet. Relative luminance 0.350; OKLCH L 72.3% C 0.168 H 310.2°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#C684F3
RGBrgb(198, 132, 243)
HSLhsl(276, 82%, 74%)
HSVhsv(276, 46%, 95%)
CMYKcmyk(18.5%, 45.7%, 0%, 4.7%)
CIE-LABlab(65.73, 45.08, -46.09)
CIE-LCHlch(65.73, 64.47, 314.37°)
OKLaboklab(72.31% 0.1086 -0.1284)
OKLCHoklch(72.31% 0.168 310.2)
XYZxyz(47.7147, 34.9801, 89.0149)
Luminance0.3498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C684F3 #B1F384
analogous
#8E84F3 #C684F3 #F384E8
triadic
#C684F3 #F3C684 #84F3C6
tetradic
#C684F3 #F38E84 #B1F384 #84E8F3
square
#C684F3 #F38E84 #B1F384 #84E8F3
split-complementary
#C684F3 #E8F384 #84F38E
monochromatic
#9216E6 #AC4CEE #C684F3 #E0BCF8 #F2E3FC

Accessibility & contrast

On white

2.63
#C684F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#C684F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C684F3
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C684F3#FFFFFF#000000##000000
##C684F31.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9DF7
Deuteranopia (green-blind)
#7CA1F0
Tritanopia (blue-blind)
#C196B0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c684f3;
/* rgb */ color: rgb(198, 132, 243);
/* oklch */ color: oklch(72.3% 0.168 310.2);
Tailwind
colors: {
  custom: {
    50: '#d9a9f7',
    500: '#c684f3',
    950: '#000000',
  },
}
SCSS
$custom: #c684f3;
$custom-light: #d9a9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c684f3",
  "rgb": {
    "r": 198,
    "g": 132,
    "b": 243
  },
  "hsl": {
    "h": 275.676,
    "s": 82.222,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7231,
    "c": 0.16812,
    "h": 310.2
  },
  "luminance": 0.34979
}

Semantic roles & 50–950 ramp

primary
#C684F3
secondary
#E3F4D7
accent
#DF075E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C684F3

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

Preview Lab → · Contrast checker → · Palette generator →

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