#C17AEB#C17AEB

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

Color values

HEX#C17AEB
RGBrgb(193, 122, 235)
HSLhsl(278, 74%, 70%)
HSVhsv(278, 48%, 92%)
CMYKcmyk(17.9%, 48.1%, 0%, 7.8%)
CIE-LABlab(62.72, 47.30, -46.45)
CIE-LCHlch(62.72, 66.30, 315.52°)
OKLaboklab(69.82% 0.1152 -0.1295)
OKLCHoklch(69.82% 0.173 311.7)
XYZxyz(43.9446, 31.2556, 82.2991)
Luminance0.3125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17AEB #A4EB7A
analogous
#887AEB #C17AEB #EB7ADD
triadic
#C17AEB #EBC17A #7AEBC1
tetradic
#C17AEB #EB887A #A4EB7A #7ADDEB
square
#C17AEB #EB887A #A4EB7A #7ADDEB
split-complementary
#C17AEB #DDEB7A #7AEB88
monochromatic
#8C1FCC #A845E3 #C17AEB #DAAFF3 #F3E4FB

Accessibility & contrast

On white

2.90
#C17AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#C17AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17AEB
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17AEB#FFFFFF#000000##000000
##C17AEB1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EF
Deuteranopia (green-blind)
#7499E8
Tritanopia (blue-blind)
#BD8CA8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c17aeb;
/* rgb */ color: rgb(193, 122, 235);
/* oklch */ color: oklch(69.8% 0.173 311.7);
Tailwind
colors: {
  custom: {
    50: '#d6a2f2',
    500: '#c17aeb',
    950: '#000000',
  },
}
SCSS
$custom: #c17aeb;
$custom-light: #d6a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c17aeb",
  "rgb": {
    "r": 193,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 277.699,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.6982,
    "c": 0.17332,
    "h": 311.7
  },
  "luminance": 0.31255
}

Semantic roles & 50–950 ramp

primary
#C17AEB
secondary
#DCF0D1
accent
#D61059
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C17AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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