#C17BEE#C17BEE

#C17BEE is a light, vivid violet. Relative luminance 0.317; OKLCH L 70.1% C 0.175 H 310.7°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#C17BEE
RGBrgb(193, 123, 238)
HSLhsl(277, 77%, 71%)
HSVhsv(277, 48%, 93%)
CMYKcmyk(18.9%, 48.3%, 0%, 6.7%)
CIE-LABlab(63.08, 47.42, -47.56)
CIE-LCHlch(63.08, 67.16, 314.92°)
OKLaboklab(70.13% 0.1142 -0.1327)
OKLCHoklch(70.13% 0.175 310.7)
XYZxyz(44.5051, 31.6772, 84.6422)
Luminance0.3168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17BEE #A8EE7B
analogous
#877BEE #C17BEE #EE7BE1
triadic
#C17BEE #EEC17B #7BEEC1
tetradic
#C17BEE #EE877B #A8EE7B #7BE1EE
square
#C17BEE #EE877B #A8EE7B #7BE1EE
split-complementary
#C17BEE #E1EE7B #7BEE87
monochromatic
#8B1BD3 #A845E7 #C17BEE #DAB1F5 #F2E4FC

Accessibility & contrast

On white

2.86
#C17BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#C17BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17BEE
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17BEE#FFFFFF#000000##000000
##C17BEE1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F95F2
Deuteranopia (green-blind)
#739AEB
Tritanopia (blue-blind)
#BC8EA9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c17bee;
/* rgb */ color: rgb(193, 123, 238);
/* oklch */ color: oklch(70.1% 0.175 310.7);
Tailwind
colors: {
  custom: {
    50: '#d6a3f4',
    500: '#c17bee',
    950: '#000000',
  },
}
SCSS
$custom: #c17bee;
$custom-light: #d6a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c17bee",
  "rgb": {
    "r": 193,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 276.522,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7013,
    "c": 0.17509,
    "h": 310.7
  },
  "luminance": 0.31676
}

Semantic roles & 50–950 ramp

primary
#C17BEE
secondary
#DFF2D3
accent
#D90C5C
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C17BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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