#C17BE8#C17BE8

#C17BE8 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.8% C 0.168 H 312.4°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#C17BE8
RGBrgb(193, 123, 232)
HSLhsl(279, 70%, 70%)
HSVhsv(279, 47%, 91%)
CMYKcmyk(16.8%, 47%, 0%, 9%)
CIE-LABlab(62.79, 46.13, -44.69)
CIE-LCHlch(62.79, 64.23, 315.91°)
OKLaboklab(69.82% 0.1135 -0.1244)
OKLCHoklch(69.82% 0.168 312.4)
XYZxyz(43.6383, 31.3305, 80.0769)
Luminance0.3133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17BE8 #A2E87B
analogous
#8B7BE8 #C17BE8 #E87BD9
triadic
#C17BE8 #E8C17B #7BE8C1
tetradic
#C17BE8 #E88B7B #A2E87B #7BD9E8
square
#C17BE8 #E88B7B #A2E87B #7BD9E8
split-complementary
#C17BE8 #D9E87B #7BE88B
monochromatic
#8C23C6 #A947DF #C17BE8 #D9AFF1 #F2E3FA

Accessibility & contrast

On white

2.89
#C17BE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#C17BE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17BE8
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17BE8#FFFFFF#000000##000000
##C17BE81.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6394EC
Deuteranopia (green-blind)
#7699E5
Tritanopia (blue-blind)
#BD8CA7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c17be8;
/* rgb */ color: rgb(193, 123, 232);
/* oklch */ color: oklch(69.8% 0.168 312.4);
Tailwind
colors: {
  custom: {
    50: '#d6a3f0',
    500: '#c17be8',
    950: '#000000',
  },
}
SCSS
$custom: #c17be8;
$custom-light: #d6a3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#c17be8",
  "rgb": {
    "r": 193,
    "g": 123,
    "b": 232
  },
  "hsl": {
    "h": 278.532,
    "s": 70.323,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6982,
    "c": 0.16835,
    "h": 312.4
  },
  "luminance": 0.3133
}

Semantic roles & 50–950 ramp

primary
#C17BE8
secondary
#DBEFD0
accent
#D21358
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #C17BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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