#C17ECB#C17ECB

#C17ECB is a light, vivid purple. Relative luminance 0.306; OKLCH L 68.9% C 0.132 H 322.2°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#C17ECB
RGBrgb(193, 126, 203)
HSLhsl(292, 43%, 65%)
HSVhsv(292, 38%, 80%)
CMYKcmyk(4.9%, 37.9%, 0%, 20.4%)
CIE-LABlab(62.15, 38.58, -29.48)
CIE-LCHlch(62.15, 48.56, 322.62°)
OKLaboklab(68.92% 0.1039 -0.0807)
OKLCHoklch(68.92% 0.132 322.2)
XYZxyz(40.2314, 30.5724, 60.2701)
Luminance0.3057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17ECB #88CB7E
analogous
#9B7ECB #C17ECB #CB7EAF
triadic
#C17ECB #CBC17E #7ECBC1
tetradic
#C17ECB #CB9B7E #88CB7E #7EAFCB
square
#C17ECB #CB9B7E #88CB7E #7EAFCB
split-complementary
#C17ECB #AFCB7E #7ECB9B
monochromatic
#883B93 #AC52B9 #C17ECB #D6AADD #EBD5EE

Accessibility & contrast

On white

2.95
#C17ECB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#C17ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17ECB
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17ECB#FFFFFF#000000##000000
##C17ECB1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7591CE
Deuteranopia (green-blind)
#8699C9
Tritanopia (blue-blind)
#C3879B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c17ecb;
/* rgb */ color: rgb(193, 126, 203);
/* oklch */ color: oklch(68.9% 0.132 322.2);
Tailwind
colors: {
  custom: {
    50: '#d5a4db',
    500: '#c17ecb',
    950: '#000000',
  },
}
SCSS
$custom: #c17ecb;
$custom-light: #d5a4db;
$custom-dark: #000000;
JSON
{
  "hex": "#c17ecb",
  "rgb": {
    "r": 193,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 292.208,
    "s": 42.541,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68921,
    "c": 0.13157,
    "h": 322.2
  },
  "luminance": 0.30571
}

Semantic roles & 50–950 ramp

primary
#C17ECB
secondary
#C9E0C5
accent
#B63041
background
#FDFAFD
surface
#FAF4FB
border
#D3CED4
text
#140F15
muted
#837F83

Preview Lab

Preview with #C17ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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