#C17FF4#C17FF4

#C17FF4 is a light, vivid violet. Relative luminance 0.330; OKLCH L 71.1% C 0.176 H 308.6°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#C17FF4
RGBrgb(193, 127, 244)
HSLhsl(274, 84%, 73%)
HSVhsv(274, 48%, 96%)
CMYKcmyk(20.9%, 48%, 0%, 4.3%)
CIE-LABlab(64.20, 46.61, -49.09)
CIE-LCHlch(64.20, 67.70, 313.51°)
OKLaboklab(71.06% 0.1095 -0.1372)
OKLCHoklch(71.06% 0.176 308.6)
XYZxyz(45.9077, 33.0485, 89.5310)
Luminance0.3305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17FF4 #B2F47F
analogous
#867FF4 #C17FF4 #F47FED
triadic
#C17FF4 #F4C17F #7FF4C1
tetradic
#C17FF4 #F4867F #B2F47F #7FEDF4
square
#C17FF4 #F4867F #B2F47F #7FEDF4
split-complementary
#C17FF4 #EDF47F #7FF486
monochromatic
#8A14E5 #A647EF #C17FF4 #DCB7F9 #F1E3FD

Accessibility & contrast

On white

2.76
#C17FF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#C17FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17FF4
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17FF4#FFFFFF#000000##000000
##C17FF41.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6199F8
Deuteranopia (green-blind)
#739DF1
Tritanopia (blue-blind)
#BA92AE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c17ff4;
/* rgb */ color: rgb(193, 127, 244);
/* oklch */ color: oklch(71.1% 0.176 308.6);
Tailwind
colors: {
  custom: {
    50: '#d6a6f8',
    500: '#c17ff4',
    950: '#000000',
  },
}
SCSS
$custom: #c17ff4;
$custom-light: #d6a6f8;
$custom-dark: #000000;
JSON
{
  "hex": "#c17ff4",
  "rgb": {
    "r": 193,
    "g": 127,
    "b": 244
  },
  "hsl": {
    "h": 273.846,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71063,
    "c": 0.17554,
    "h": 308.6
  },
  "luminance": 0.33048
}

Semantic roles & 50–950 ramp

primary
#C17FF4
secondary
#E4F5D6
accent
#E10565
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C17FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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