#C682FC#C682FC

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

Color values

HEX#C682FC
RGBrgb(198, 130, 252)
HSLhsl(273, 95%, 75%)
HSVhsv(273, 48%, 99%)
CMYKcmyk(21.4%, 48.4%, 0%, 1.2%)
CIE-LABlab(65.75, 48.11, -51.01)
CIE-LCHlch(65.75, 70.12, 313.33°)
OKLaboklab(72.46% 0.1124 -0.1426)
OKLCHoklch(72.46% 0.182 308.2)
XYZxyz(48.8386, 34.9999, 96.2594)
Luminance0.3500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C682FC #B8FC82
analogous
#8982FC #C682FC #FC82F5
triadic
#C682FC #FCC682 #82FCC6
tetradic
#C682FC #FC8982 #B8FC82 #82F5FC
square
#C682FC #FC8982 #B8FC82 #82F5FC
split-complementary
#C682FC #F5FC82 #82FC89
monochromatic
#8F0AF9 #AB46FB #C682FC #E1BEFD #F1E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C682FC#FFFFFF#000000##000000
##C682FC1.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)
#629DFF
Deuteranopia (green-blind)
#75A1F9
Tritanopia (blue-blind)
#BE96B3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c682fc;
/* rgb */ color: rgb(198, 130, 252);
/* oklch */ color: oklch(72.5% 0.182 308.2);
Tailwind
colors: {
  custom: {
    50: '#daa8fe',
    500: '#c682fc',
    950: '#000000',
  },
}
SCSS
$custom: #c682fc;
$custom-light: #daa8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c682fc",
  "rgb": {
    "r": 198,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 273.443,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72463,
    "c": 0.18159,
    "h": 308.2
  },
  "luminance": 0.34999
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C682FC

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

Preview Lab → · Contrast checker → · Palette generator →

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