#C58DEC#C58DEC

#C58DEC is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.3% C 0.145 H 310.3°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#C58DEC
RGBrgb(197, 141, 236)
HSLhsl(275, 71%, 74%)
HSVhsv(275, 40%, 93%)
CMYKcmyk(16.5%, 40.3%, 0%, 7.5%)
CIE-LABlab(67.26, 38.43, -39.85)
CIE-LCHlch(67.26, 55.36, 313.96°)
OKLaboklab(73.33% 0.0937 -0.1104)
OKLCHoklch(73.33% 0.145 310.3)
XYZxyz(47.6884, 36.9769, 83.9656)
Luminance0.3698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C58DEC #B4EC8D
analogous
#968DEC #C58DEC #EC8DE4
triadic
#C58DEC #ECC58D #8DECC5
tetradic
#C58DEC #EC968D #B4EC8D #8DE4EC
square
#C58DEC #EC968D #B4EC8D #8DE4EC
split-complementary
#C58DEC #E4EC8D #8DEC96
monochromatic
#9024DA #AA59E3 #C58DEC #E0C1F5 #F2E5FB

Accessibility & contrast

On white

2.50
#C58DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#C58DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C58DEC
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C58DEC#FFFFFF#000000##000000
##C58DEC1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA1F0
Deuteranopia (green-blind)
#87A5E9
Tritanopia (blue-blind)
#C19BB1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c58dec;
/* rgb */ color: rgb(197, 141, 236);
/* oklch */ color: oklch(73.3% 0.145 310.3);
Tailwind
colors: {
  custom: {
    50: '#d8aff2',
    500: '#c58dec',
    950: '#000000',
  },
}
SCSS
$custom: #c58dec;
$custom-light: #d8aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#c58dec",
  "rgb": {
    "r": 197,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 275.368,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73328,
    "c": 0.14482,
    "h": 310.3
  },
  "luminance": 0.36976
}

Semantic roles & 50–950 ramp

primary
#C58DEC
secondary
#E3F2D9
accent
#D31261
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C58DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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