#C582FA#C582FA

#C582FA is a light, vivid violet. Relative luminance 0.347; OKLCH L 72.3% C 0.179 H 308.3°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#C582FA
RGBrgb(197, 130, 250)
HSLhsl(274, 92%, 75%)
HSVhsv(274, 48%, 98%)
CMYKcmyk(21.2%, 48%, 0%, 2%)
CIE-LABlab(65.54, 47.41, -50.24)
CIE-LCHlch(65.54, 69.08, 313.34°)
OKLaboklab(72.26% 0.111 -0.1404)
OKLCHoklch(72.26% 0.179 308.3)
XYZxyz(48.2605, 34.7383, 94.5867)
Luminance0.3474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C582FA #B7FA82
analogous
#8982FA #C582FA #FA82F3
triadic
#C582FA #FAC582 #82FAC5
tetradic
#C582FA #FA8982 #B7FA82 #82F3FA
square
#C582FA #FA8982 #B7FA82 #82F3FA
split-complementary
#C582FA #F3FA82 #82FA89
monochromatic
#8E0CF5 #AA47F8 #C582FA #E0BDFC #F1E2FE

Accessibility & contrast

On white

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

On black

7.95
#C582FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C582FA
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C582FA#FFFFFF#000000##000000
##C582FA1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#639CFE
Deuteranopia (green-blind)
#75A0F7
Tritanopia (blue-blind)
#BE96B2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c582fa;
/* rgb */ color: rgb(197, 130, 250);
/* oklch */ color: oklch(72.3% 0.179 308.3);
Tailwind
colors: {
  custom: {
    50: '#d9a8fc',
    500: '#c582fa',
    950: '#000000',
  },
}
SCSS
$custom: #c582fa;
$custom-light: #d9a8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c582fa",
  "rgb": {
    "r": 197,
    "g": 130,
    "b": 250
  },
  "hsl": {
    "h": 273.5,
    "s": 92.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72255,
    "c": 0.17898,
    "h": 308.3
  },
  "luminance": 0.34738
}

Semantic roles & 50–950 ramp

primary
#C582FA
secondary
#E4F6D5
accent
#E60065
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C582FA

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

Preview Lab → · Contrast checker → · Palette generator →

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