#C17BFB#C17BFB

#C17BFB is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.8% C 0.190 H 307.5°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#C17BFB
RGBrgb(193, 123, 251)
HSLhsl(273, 94%, 73%)
HSVhsv(273, 51%, 98%)
CMYKcmyk(23.1%, 51%, 0%, 1.6%)
CIE-LABlab(63.73, 50.28, -53.69)
CIE-LCHlch(63.73, 73.56, 313.12°)
OKLaboklab(70.83% 0.1155 -0.1505)
OKLCHoklch(70.83% 0.19 307.5)
XYZxyz(46.4844, 32.4689, 95.0664)
Luminance0.3247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17BFB #B5FB7B
analogous
#817BFB #C17BFB #FB7BF5
triadic
#C17BFB #FBC17B #7BFBC1
tetradic
#C17BFB #FB817B #B5FB7B #7BF5FB
square
#C17BFB #FB817B #B5FB7B #7BF5FB
split-complementary
#C17BFB #F5FB7B #7BFB81
monochromatic
#8907F4 #A540F9 #C17BFB #DDB6FD #F1E1FE

Accessibility & contrast

On white

2.80
#C17BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#C17BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17BFB
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17BFB#FFFFFF#000000##000000
##C17BFB1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#6B9BF8
Tritanopia (blue-blind)
#B891B0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c17bfb;
/* rgb */ color: rgb(193, 123, 251);
/* oklch */ color: oklch(70.8% 0.190 307.5);
Tailwind
colors: {
  custom: {
    50: '#d6a3fd',
    500: '#c17bfb',
    950: '#000000',
  },
}
SCSS
$custom: #c17bfb;
$custom-light: #d6a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c17bfb",
  "rgb": {
    "r": 193,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 272.813,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70827,
    "c": 0.18976,
    "h": 307.5
  },
  "luminance": 0.32468
}

Semantic roles & 50–950 ramp

primary
#C17BFB
secondary
#E4F6D5
accent
#E60068
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C17BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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