#C17BFA#C17BFA

#C17BFA is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.8% C 0.189 H 307.7°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#C17BFA
RGBrgb(193, 123, 250)
HSLhsl(273, 93%, 73%)
HSVhsv(273, 51%, 98%)
CMYKcmyk(22.8%, 50.8%, 0%, 2%)
CIE-LABlab(63.68, 50.06, -53.22)
CIE-LCHlch(63.68, 73.06, 313.24°)
OKLaboklab(70.77% 0.1154 -0.1492)
OKLCHoklch(70.77% 0.189 307.7)
XYZxyz(46.3272, 32.4061, 94.2384)
Luminance0.3241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17BFA #B4FA7B
analogous
#817BFA #C17BFA #FA7BF3
triadic
#C17BFA #FAC17B #7BFAC1
tetradic
#C17BFA #FA817B #B4FA7B #7BF3FA
square
#C17BFA #FA817B #B4FA7B #7BF3FA
split-complementary
#C17BFA #F3FA7B #7BFA81
monochromatic
#8909F1 #A540F8 #C17BFA #DDB6FC #F1E2FE

Accessibility & contrast

On white

2.81
#C17BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#C17BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17BFA
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17BFA#FFFFFF#000000##000000
##C17BFA1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FE
Deuteranopia (green-blind)
#6B9BF7
Tritanopia (blue-blind)
#B991AF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c17bfa;
/* rgb */ color: rgb(193, 123, 250);
/* oklch */ color: oklch(70.8% 0.189 307.7);
Tailwind
colors: {
  custom: {
    50: '#d6a3fc',
    500: '#c17bfa',
    950: '#000000',
  },
}
SCSS
$custom: #c17bfa;
$custom-light: #d6a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c17bfa",
  "rgb": {
    "r": 193,
    "g": 123,
    "b": 250
  },
  "hsl": {
    "h": 273.071,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70772,
    "c": 0.18864,
    "h": 307.7
  },
  "luminance": 0.32406
}

Semantic roles & 50–950 ramp

primary
#C17BFA
secondary
#E4F6D5
accent
#E60067
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C17BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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