#C45ECB#C45ECB

#C45ECB is a light, vivid purple. Relative luminance 0.241; OKLCH L 64.5% C 0.187 H 325.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#C45ECB
RGBrgb(196, 94, 203)
HSLhsl(296, 51%, 58%)
HSVhsv(296, 54%, 80%)
CMYKcmyk(3.4%, 53.7%, 0%, 20.4%)
CIE-LABlab(56.14, 55.91, -38.81)
CIE-LCHlch(56.14, 68.06, 325.23°)
OKLaboklab(64.53% 0.1528 -0.1071)
OKLCHoklch(64.53% 0.187 325)
XYZxyz(37.5463, 24.0550, 59.1537)
Luminance0.2405 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C45ECB #65CB5E
analogous
#8D5ECB #C45ECB #CB5E9B
triadic
#C45ECB #CBC45E #5ECBC4
tetradic
#C45ECB #CB8D5E #65CB5E #5E9BCB
square
#C45ECB #CB8D5E #65CB5E #5E9BCB
split-complementary
#C45ECB #9BCB5E #5ECB8D
monochromatic
#7E2B84 #AA3AB2 #C45ECB #D58CDA #E6BBE9

Accessibility & contrast

On white

3.61
#C45ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#C45ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C45ECB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C45ECB#FFFFFF#000000##000000
##C45ECB1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FCF
Deuteranopia (green-blind)
#708BC8
Tritanopia (blue-blind)
#C86C8C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c45ecb;
/* rgb */ color: rgb(196, 94, 203);
/* oklch */ color: oklch(64.5% 0.187 325.0);
Tailwind
colors: {
  custom: {
    50: '#d890db',
    500: '#c45ecb',
    950: '#000000',
  },
}
SCSS
$custom: #c45ecb;
$custom-light: #d890db;
$custom-dark: #000000;
JSON
{
  "hex": "#c45ecb",
  "rgb": {
    "r": 196,
    "g": 94,
    "b": 203
  },
  "hsl": {
    "h": 296.147,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64533,
    "c": 0.18662,
    "h": 325
  },
  "luminance": 0.24053
}

Semantic roles & 50–950 ramp

primary
#C45ECB
secondary
#AFD8AD
accent
#DB4D56
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C45ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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