#C17EF4#C17EF4

#C17EF4 is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.9% C 0.177 H 308.8°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#C17EF4
RGBrgb(193, 126, 244)
HSLhsl(274, 84%, 73%)
HSVhsv(274, 48%, 96%)
CMYKcmyk(20.9%, 48.4%, 0%, 4.3%)
CIE-LABlab(63.99, 47.14, -49.42)
CIE-LCHlch(63.99, 68.30, 313.65°)
OKLaboklab(70.91% 0.1109 -0.1381)
OKLCHoklch(70.91% 0.177 308.8)
XYZxyz(45.7792, 32.7914, 89.4881)
Luminance0.3279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17EF4 #B1F47E
analogous
#867EF4 #C17EF4 #F47EEC
triadic
#C17EF4 #F4C17E #7EF4C1
tetradic
#C17EF4 #F4867E #B1F47E #7EECF4
square
#C17EF4 #F4867E #B1F47E #7EECF4
split-complementary
#C17EF4 #ECF47E #7EF486
monochromatic
#8A13E4 #A646EF #C17EF4 #DCB6F9 #F1E3FD

Accessibility & contrast

On white

2.78
#C17EF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#C17EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17EF4
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17EF4#FFFFFF#000000##000000
##C17EF41.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F98F8
Deuteranopia (green-blind)
#729CF1
Tritanopia (blue-blind)
#BA92AE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c17ef4;
/* rgb */ color: rgb(193, 126, 244);
/* oklch */ color: oklch(70.9% 0.177 308.8);
Tailwind
colors: {
  custom: {
    50: '#d6a5f8',
    500: '#c17ef4',
    950: '#000000',
  },
}
SCSS
$custom: #c17ef4;
$custom-light: #d6a5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#c17ef4",
  "rgb": {
    "r": 193,
    "g": 126,
    "b": 244
  },
  "hsl": {
    "h": 274.068,
    "s": 84.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70907,
    "c": 0.17713,
    "h": 308.8
  },
  "luminance": 0.32791
}

Semantic roles & 50–950 ramp

primary
#C17EF4
secondary
#E3F5D6
accent
#E10564
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C17EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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