#C17EF2#C17EF2

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

Color values

HEX#C17EF2
RGBrgb(193, 126, 242)
HSLhsl(275, 82%, 72%)
HSVhsv(275, 48%, 95%)
CMYKcmyk(20.2%, 47.9%, 0%, 5.1%)
CIE-LABlab(63.89, 46.70, -48.48)
CIE-LCHlch(63.89, 67.31, 313.93°)
OKLaboklab(70.8% 0.1107 -0.1354)
OKLCHoklch(70.8% 0.175 309.3)
XYZxyz(45.4771, 32.6706, 87.8975)
Luminance0.3267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17EF2 #AFF27E
analogous
#877EF2 #C17EF2 #F27EE9
triadic
#C17EF2 #F2C17E #7EF2C1
tetradic
#C17EF2 #F2877E #AFF27E #7EE9F2
square
#C17EF2 #F2877E #AFF27E #7EE9F2
split-complementary
#C17EF2 #E9F27E #7EF287
monochromatic
#8A16DF #A646EC #C17EF2 #DCB6F8 #F2E3FC

Accessibility & contrast

On white

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

On black

7.53
#C17EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17EF2
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17EF2#FFFFFF#000000##000000
##C17EF21.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F6
Deuteranopia (green-blind)
#739CEF
Tritanopia (blue-blind)
#BB91AD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c17ef2;
/* rgb */ color: rgb(193, 126, 242);
/* oklch */ color: oklch(70.8% 0.175 309.3);
Tailwind
colors: {
  custom: {
    50: '#d6a5f7',
    500: '#c17ef2',
    950: '#000000',
  },
}
SCSS
$custom: #c17ef2;
$custom-light: #d6a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c17ef2",
  "rgb": {
    "r": 193,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 274.655,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70802,
    "c": 0.17485,
    "h": 309.3
  },
  "luminance": 0.3267
}

Semantic roles & 50–950 ramp

primary
#C17EF2
secondary
#E3F4D7
accent
#DE0762
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C17EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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