#C582EF#C582EF

#C582EF is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.7% C 0.166 H 311.2°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#C582EF
RGBrgb(197, 130, 239)
HSLhsl(277, 77%, 72%)
HSVhsv(277, 46%, 94%)
CMYKcmyk(17.6%, 45.6%, 0%, 6.3%)
CIE-LABlab(65.02, 45.01, -45.02)
CIE-LCHlch(65.02, 63.66, 314.99°)
OKLaboklab(71.69% 0.1096 -0.1253)
OKLCHoklch(71.69% 0.166 311.2)
XYZxyz(46.5858, 34.0684, 85.7664)
Luminance0.3407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C582EF #ACEF82
analogous
#8F82EF #C582EF #EF82E2
triadic
#C582EF #EFC582 #82EFC5
tetradic
#C582EF #EF8F82 #ACEF82 #82E2EF
square
#C582EF #EF8F82 #ACEF82 #82E2EF
split-complementary
#C582EF #E2EF82 #82EF8F
monochromatic
#911CDB #AC4CE8 #C582EF #DEB8F6 #F2E4FC

Accessibility & contrast

On white

2.69
#C582EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#C582EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C582EF
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C582EF#FFFFFF#000000##000000
##C582EF1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF3
Deuteranopia (green-blind)
#7C9FEC
Tritanopia (blue-blind)
#C093AD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c582ef;
/* rgb */ color: rgb(197, 130, 239);
/* oklch */ color: oklch(71.7% 0.166 311.2);
Tailwind
colors: {
  custom: {
    50: '#d8a8f4',
    500: '#c582ef',
    950: '#000000',
  },
}
SCSS
$custom: #c582ef;
$custom-light: #d8a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c582ef",
  "rgb": {
    "r": 197,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 276.881,
    "s": 77.305,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71689,
    "c": 0.16643,
    "h": 311.2
  },
  "luminance": 0.34068
}

Semantic roles & 50–950 ramp

primary
#C582EF
secondary
#E2F3D8
accent
#DA0C5B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C582EF

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

Preview Lab → · Contrast checker → · Palette generator →

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