#C17FEE#C17FEE

#C17FEE is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.8% C 0.169 H 310.2°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#C17FEE
RGBrgb(193, 127, 238)
HSLhsl(276, 77%, 72%)
HSVhsv(276, 47%, 93%)
CMYKcmyk(18.9%, 46.6%, 0%, 6.7%)
CIE-LABlab(63.91, 45.30, -46.24)
CIE-LCHlch(63.91, 64.73, 314.41°)
OKLaboklab(70.75% 0.1088 -0.1289)
OKLCHoklch(70.75% 0.169 310.2)
XYZxyz(45.0115, 32.6900, 84.8110)
Luminance0.3269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17FEE #ACEE7F
analogous
#8A7FEE #C17FEE #EE7FE3
triadic
#C17FEE #EEC17F #7FEEC1
tetradic
#C17FEE #EE8A7F #ACEE7F #7FE3EE
square
#C17FEE #EE8A7F #ACEE7F #7FE3EE
split-complementary
#C17FEE #E3EE7F #7FEE8A
monochromatic
#8B1CD6 #A749E7 #C17FEE #DBB5F5 #F2E4FB

Accessibility & contrast

On white

2.79
#C17FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#C17FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17FEE
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17FEE#FFFFFF#000000##000000
##C17FEE1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6598F2
Deuteranopia (green-blind)
#779CEB
Tritanopia (blue-blind)
#BC91AB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c17fee;
/* rgb */ color: rgb(193, 127, 238);
/* oklch */ color: oklch(70.8% 0.169 310.2);
Tailwind
colors: {
  custom: {
    50: '#d6a6f4',
    500: '#c17fee',
    950: '#000000',
  },
}
SCSS
$custom: #c17fee;
$custom-light: #d6a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c17fee",
  "rgb": {
    "r": 193,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 275.676,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70751,
    "c": 0.16867,
    "h": 310.2
  },
  "luminance": 0.32689
}

Semantic roles & 50–950 ramp

primary
#C17FEE
secondary
#E2F3D6
accent
#D90D5F
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #C17FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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