#C591EC#C591EC

#C591EC is a light, vivid violet. Relative luminance 0.382; OKLCH L 74.0% C 0.138 H 309.6°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#C591EC
RGBrgb(197, 145, 236)
HSLhsl(274, 71%, 75%)
HSVhsv(274, 39%, 93%)
CMYKcmyk(16.5%, 38.6%, 0%, 7.5%)
CIE-LABlab(68.15, 36.25, -38.46)
CIE-LCHlch(68.15, 52.85, 313.30°)
OKLaboklab(74% 0.0881 -0.1064)
OKLCHoklch(74% 0.138 309.6)
XYZxyz(48.2889, 38.1779, 84.1658)
Luminance0.3818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C591EC #B8EC91
analogous
#9891EC #C591EC #EC91E5
triadic
#C591EC #ECC591 #91ECC5
tetradic
#C591EC #EC9891 #B8EC91 #91E5EC
square
#C591EC #EC9891 #B8EC91 #91E5EC
split-complementary
#C591EC #E5EC91 #91EC98
monochromatic
#8E29DA #A95DE3 #C591EC #E1C5F5 #F1E5FA

Accessibility & contrast

On white

2.43
#C591EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#C591EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C591EC
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C591EC#FFFFFF#000000##000000
##C591EC1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA4EF
Deuteranopia (green-blind)
#8BA7E9
Tritanopia (blue-blind)
#C09EB3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c591ec;
/* rgb */ color: rgb(197, 145, 236);
/* oklch */ color: oklch(74.0% 0.138 309.6);
Tailwind
colors: {
  custom: {
    50: '#d8b2f2',
    500: '#c591ec',
    950: '#000000',
  },
}
SCSS
$custom: #c591ec;
$custom-light: #d8b2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c591ec",
  "rgb": {
    "r": 197,
    "g": 145,
    "b": 236
  },
  "hsl": {
    "h": 274.286,
    "s": 70.543,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74001,
    "c": 0.13813,
    "h": 309.6
  },
  "luminance": 0.38177
}

Semantic roles & 50–950 ramp

primary
#C591EC
secondary
#E4F2D9
accent
#D31365
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #C591EC

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

Preview Lab → · Contrast checker → · Palette generator →

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