#C17FFB#C17FFB

#C17FFB is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.4% C 0.184 H 306.9°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#C17FFB
RGBrgb(193, 127, 251)
HSLhsl(272, 94%, 74%)
HSVhsv(272, 49%, 98%)
CMYKcmyk(23.1%, 49.4%, 0%, 1.6%)
CIE-LABlab(64.55, 48.17, -52.39)
CIE-LCHlch(64.55, 71.17, 312.60°)
OKLaboklab(71.44% 0.1103 -0.1468)
OKLCHoklch(71.44% 0.184 306.9)
XYZxyz(46.9907, 33.4817, 95.2352)
Luminance0.3348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17FFB #B9FB7F
analogous
#837FFB #C17FFB #FB7FF7
triadic
#C17FFB #FBC17F #7FFBC1
tetradic
#C17FFB #FB837F #B9FB7F #7FF7FB
square
#C17FFB #FB837F #B9FB7F #7FF7FB
split-complementary
#C17FFB #F7FB7F #7FFB83
monochromatic
#8808F7 #A444F9 #C17FFB #DEBAFD #F1E1FE

Accessibility & contrast

On white

2.73
#C17FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#C17FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17FFB
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17FFB#FFFFFF#000000##000000
##C17FFB1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9AFF
Deuteranopia (green-blind)
#6F9DF8
Tritanopia (blue-blind)
#B894B1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c17ffb;
/* rgb */ color: rgb(193, 127, 251);
/* oklch */ color: oklch(71.4% 0.184 306.9);
Tailwind
colors: {
  custom: {
    50: '#d6a6fd',
    500: '#c17ffb',
    950: '#000000',
  },
}
SCSS
$custom: #c17ffb;
$custom-light: #d6a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c17ffb",
  "rgb": {
    "r": 193,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 271.935,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71436,
    "c": 0.1836,
    "h": 306.9
  },
  "luminance": 0.33481
}

Semantic roles & 50–950 ramp

primary
#C17FFB
secondary
#E4F6D5
accent
#E6006B
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C17FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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