#C582FC#C582FC

#C582FC is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.4% C 0.181 H 307.8°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#C582FC
RGBrgb(197, 130, 252)
HSLhsl(273, 95%, 75%)
HSVhsv(273, 48%, 99%)
CMYKcmyk(21.8%, 48.4%, 0%, 1.2%)
CIE-LABlab(65.64, 47.85, -51.18)
CIE-LCHlch(65.64, 70.06, 313.07°)
OKLaboklab(72.36% 0.1112 -0.1431)
OKLCHoklch(72.36% 0.181 307.8)
XYZxyz(48.5758, 34.8644, 96.2471)
Luminance0.3486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C582FC #B9FC82
analogous
#8882FC #C582FC #FC82F6
triadic
#C582FC #FCC582 #82FCC5
tetradic
#C582FC #FC8882 #B9FC82 #82F6FC
square
#C582FC #FC8882 #B9FC82 #82F6FC
split-complementary
#C582FC #F6FC82 #82FC88
monochromatic
#8E0AF9 #A946FB #C582FC #E1BEFD #F1E1FE

Accessibility & contrast

On white

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

On black

7.97
#C582FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C582FC
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C582FC#FFFFFF#000000##000000
##C582FC1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#74A0F9
Tritanopia (blue-blind)
#BD97B3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c582fc;
/* rgb */ color: rgb(197, 130, 252);
/* oklch */ color: oklch(72.4% 0.181 307.8);
Tailwind
colors: {
  custom: {
    50: '#d9a8fe',
    500: '#c582fc',
    950: '#000000',
  },
}
SCSS
$custom: #c582fc;
$custom-light: #d9a8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c582fc",
  "rgb": {
    "r": 197,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 272.951,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7236,
    "c": 0.18127,
    "h": 307.8
  },
  "luminance": 0.34864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C582FC

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

Preview Lab → · Contrast checker → · Palette generator →

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