#C582FB#C582FB

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

Color values

HEX#C582FB
RGBrgb(197, 130, 251)
HSLhsl(273, 94%, 75%)
HSVhsv(273, 48%, 98%)
CMYKcmyk(21.5%, 48.2%, 0%, 1.6%)
CIE-LABlab(65.59, 47.63, -50.71)
CIE-LCHlch(65.59, 69.57, 313.20°)
OKLaboklab(72.31% 0.1111 -0.1418)
OKLCHoklch(72.31% 0.18 308.1)
XYZxyz(48.4178, 34.8012, 95.4147)
Luminance0.3480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C582FB #B8FB82
analogous
#8982FB #C582FB #FB82F5
triadic
#C582FB #FBC582 #82FBC5
tetradic
#C582FB #FB8982 #B8FB82 #82F5FB
square
#C582FB #FB8982 #B8FB82 #82F5FB
split-complementary
#C582FB #F5FB82 #82FB89
monochromatic
#8E0BF7 #A947F9 #C582FB #E1BDFD #F1E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C582FB#FFFFFF#000000##000000
##C582FB1.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)
#629DFF
Deuteranopia (green-blind)
#75A0F8
Tritanopia (blue-blind)
#BD96B3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c582fb;
/* rgb */ color: rgb(197, 130, 251);
/* oklch */ color: oklch(72.3% 0.180 308.1);
Tailwind
colors: {
  custom: {
    50: '#d9a8fd',
    500: '#c582fb',
    950: '#000000',
  },
}
SCSS
$custom: #c582fb;
$custom-light: #d9a8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c582fb",
  "rgb": {
    "r": 197,
    "g": 130,
    "b": 251
  },
  "hsl": {
    "h": 273.223,
    "s": 93.798,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72307,
    "c": 0.18013,
    "h": 308.1
  },
  "luminance": 0.34801
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C582FB

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

Preview Lab → · Contrast checker → · Palette generator →

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