#C58AEF#C58AEF

#C58AEF is a light, vivid violet. Relative luminance 0.363; OKLCH L 73.0% C 0.153 H 310.0°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#C58AEF
RGBrgb(197, 138, 239)
HSLhsl(275, 76%, 74%)
HSVhsv(275, 42%, 94%)
CMYKcmyk(17.6%, 42.3%, 0%, 6.3%)
CIE-LABlab(66.73, 40.71, -42.33)
CIE-LCHlch(66.73, 58.73, 313.88°)
OKLaboklab(72.97% 0.0985 -0.1175)
OKLCHoklch(72.97% 0.153 310)
XYZxyz(47.6916, 36.2800, 86.1350)
Luminance0.3628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C58AEF #B4EF8A
analogous
#938AEF #C58AEF #EF8AE6
triadic
#C58AEF #EFC58A #8AEFC5
tetradic
#C58AEF #EF938A #B4EF8A #8AE6EF
square
#C58AEF #EF938A #B4EF8A #8AE6EF
split-complementary
#C58AEF #E6EF8A #8AEF93
monochromatic
#901FE0 #AA54E8 #C58AEF #E0C0F6 #F2E4FB

Accessibility & contrast

On white

2.54
#C58AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#C58AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C58AEF
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C58AEF#FFFFFF#000000##000000
##C58AEF1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A0F3
Deuteranopia (green-blind)
#83A3EC
Tritanopia (blue-blind)
#C099B1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c58aef;
/* rgb */ color: rgb(197, 138, 239);
/* oklch */ color: oklch(73.0% 0.153 310.0);
Tailwind
colors: {
  custom: {
    50: '#d8adf4',
    500: '#c58aef',
    950: '#000000',
  },
}
SCSS
$custom: #c58aef;
$custom-light: #d8adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#c58aef",
  "rgb": {
    "r": 197,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 275.05,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72975,
    "c": 0.15333,
    "h": 310
  },
  "luminance": 0.36279
}

Semantic roles & 50–950 ramp

primary
#C58AEF
secondary
#E3F3D8
accent
#D80D62
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C58AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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