#C17EE7#C17EE7

#C17EE7 is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.2% C 0.162 H 312.3°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#C17EE7
RGBrgb(193, 126, 231)
HSLhsl(278, 69%, 70%)
HSVhsv(278, 45%, 91%)
CMYKcmyk(16.5%, 45.5%, 0%, 9.4%)
CIE-LABlab(63.37, 44.32, -43.22)
CIE-LCHlch(63.37, 61.91, 315.72°)
OKLaboklab(70.24% 0.1092 -0.1201)
OKLCHoklch(70.24% 0.162 312.3)
XYZxyz(43.8745, 32.0296, 79.4569)
Luminance0.3203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17EE7 #A4E77E
analogous
#8D7EE7 #C17EE7 #E77ED8
triadic
#C17EE7 #E7C17E #7EE7C1
tetradic
#C17EE7 #E78D7E #A4E77E #7ED8E7
square
#C17EE7 #E78D7E #A4E77E #7ED8E7
split-complementary
#C17EE7 #D8E77E #7EE78D
monochromatic
#8C25C6 #A84ADD #C17EE7 #DAB2F1 #F3E5FA

Accessibility & contrast

On white

2.84
#C17EE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#C17EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17EE7
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17EE7#FFFFFF#000000##000000
##C17EE71.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6896EB
Deuteranopia (green-blind)
#7A9BE4
Tritanopia (blue-blind)
#BD8EA8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c17ee7;
/* rgb */ color: rgb(193, 126, 231);
/* oklch */ color: oklch(70.2% 0.162 312.3);
Tailwind
colors: {
  custom: {
    50: '#d5a5ef',
    500: '#c17ee7',
    950: '#000000',
  },
}
SCSS
$custom: #c17ee7;
$custom-light: #d5a5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#c17ee7",
  "rgb": {
    "r": 193,
    "g": 126,
    "b": 231
  },
  "hsl": {
    "h": 278.286,
    "s": 68.627,
    "l": 70
  },
  "oklch": {
    "l": 0.70239,
    "c": 0.16234,
    "h": 312.3
  },
  "luminance": 0.32029
}

Semantic roles & 50–950 ramp

primary
#C17EE7
secondary
#DCEFD2
accent
#D11559
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #C17EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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