#C17EF7#C17EF7

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

Color values

HEX#C17EF7
RGBrgb(193, 126, 247)
HSLhsl(273, 88%, 73%)
HSVhsv(273, 49%, 97%)
CMYKcmyk(21.9%, 49%, 0%, 3.1%)
CIE-LABlab(64.14, 47.81, -50.84)
CIE-LCHlch(64.14, 69.79, 313.24°)
OKLaboklab(71.07% 0.1112 -0.1422)
OKLCHoklch(71.07% 0.181 308)
XYZxyz(46.2384, 32.9751, 91.9066)
Luminance0.3297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17EF7 #B4F77E
analogous
#847EF7 #C17EF7 #F77EF1
triadic
#C17EF7 #F7C17E #7EF7C1
tetradic
#C17EF7 #F7847E #B4F77E #7EF1F7
square
#C17EF7 #F7847E #B4F77E #7EF1F7
split-complementary
#C17EF7 #F1F77E #7EF784
monochromatic
#890FEC #A544F3 #C17EF7 #DDB8FB #F1E2FD

Accessibility & contrast

On white

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

On black

7.59
#C17EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17EF7
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17EF7#FFFFFF#000000##000000
##C17EF71.002.767.597.59
#FFFFFF2.761.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D99FB
Deuteranopia (green-blind)
#709CF4
Tritanopia (blue-blind)
#B993AF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c17ef7;
/* rgb */ color: rgb(193, 126, 247);
/* oklch */ color: oklch(71.1% 0.181 308.0);
Tailwind
colors: {
  custom: {
    50: '#d6a5fa',
    500: '#c17ef7',
    950: '#000000',
  },
}
SCSS
$custom: #c17ef7;
$custom-light: #d6a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c17ef7",
  "rgb": {
    "r": 193,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 273.223,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71067,
    "c": 0.18056,
    "h": 308
  },
  "luminance": 0.32975
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C17EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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