#C17CDB#C17CDB

#C17CDB is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.3% C 0.152 H 316.3°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#C17CDB
RGBrgb(193, 124, 219)
HSLhsl(284, 57%, 67%)
HSVhsv(284, 43%, 86%)
CMYKcmyk(11.9%, 43.4%, 0%, 14.1%)
CIE-LABlab(62.40, 42.88, -38.06)
CIE-LCHlch(62.40, 57.33, 318.40°)
OKLaboklab(69.33% 0.1101 -0.1052)
OKLCHoklch(69.33% 0.152 316.3)
XYZxyz(41.9843, 30.8684, 70.7507)
Luminance0.3087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17CDB #96DB7C
analogous
#927CDB #C17CDB #DB7CC5
triadic
#C17CDB #DBC17C #7CDBC1
tetradic
#C17CDB #DB927C #96DB7C #7CC5DB
square
#C17CDB #DB927C #96DB7C #7CC5DB
split-complementary
#C17CDB #C5DB7C #7CDB92
monochromatic
#8B30AD #AA4CCE #C17CDB #D8ACE8 #EEDCF5

Accessibility & contrast

On white

2.93
#C17CDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#C17CDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17CDB
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17CDB#FFFFFF#000000##000000
##C17CDB1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B93DE
Deuteranopia (green-blind)
#7E99D8
Tritanopia (blue-blind)
#C089A1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c17cdb;
/* rgb */ color: rgb(193, 124, 219);
/* oklch */ color: oklch(69.3% 0.152 316.3);
Tailwind
colors: {
  custom: {
    50: '#d5a3e6',
    500: '#c17cdb',
    950: '#000000',
  },
}
SCSS
$custom: #c17cdb;
$custom-light: #d5a3e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c17cdb",
  "rgb": {
    "r": 193,
    "g": 124,
    "b": 219
  },
  "hsl": {
    "h": 283.579,
    "s": 56.886,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69333,
    "c": 0.15227,
    "h": 316.3
  },
  "luminance": 0.30867
}

Semantic roles & 50–950 ramp

primary
#C17CDB
secondary
#D3E8CA
accent
#C4214E
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #C17CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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