#C682F9#C682F9

#C682F9 is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.3% C 0.178 H 309.0°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#C682F9
RGBrgb(198, 130, 249)
HSLhsl(274, 91%, 74%)
HSVhsv(274, 48%, 98%)
CMYKcmyk(20.5%, 47.8%, 0%, 2.4%)
CIE-LABlab(65.60, 47.45, -49.59)
CIE-LCHlch(65.60, 68.64, 313.74°)
OKLaboklab(72.3% 0.1121 -0.1385)
OKLCHoklch(72.3% 0.178 309)
XYZxyz(48.3669, 34.8113, 93.7754)
Luminance0.3481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C682F9 #B5F982
analogous
#8B82F9 #C682F9 #F982F0
triadic
#C682F9 #F9C682 #82F9C6
tetradic
#C682F9 #F98B82 #B5F982 #82F0F9
square
#C682F9 #F98B82 #B5F982 #82F0F9
split-complementary
#C682F9 #F0F982 #82F98B
monochromatic
#910DF3 #AB48F6 #C682F9 #E1BCFC #F2E2FE

Accessibility & contrast

On white

2.64
#C682F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#C682F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C682F9
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C682F9#FFFFFF#000000##000000
##C682F91.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFD
Deuteranopia (green-blind)
#77A0F6
Tritanopia (blue-blind)
#BF96B2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c682f9;
/* rgb */ color: rgb(198, 130, 249);
/* oklch */ color: oklch(72.3% 0.178 309.0);
Tailwind
colors: {
  custom: {
    50: '#d9a8fc',
    500: '#c682f9',
    950: '#000000',
  },
}
SCSS
$custom: #c682f9;
$custom-light: #d9a8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c682f9",
  "rgb": {
    "r": 198,
    "g": 130,
    "b": 249
  },
  "hsl": {
    "h": 274.286,
    "s": 90.84,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72305,
    "c": 0.17817,
    "h": 309
  },
  "luminance": 0.34811
}

Semantic roles & 50–950 ramp

primary
#C682F9
secondary
#E3F6D5
accent
#E60062
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C682F9

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

Preview Lab → · Contrast checker → · Palette generator →

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