#C17CF2#C17CF2

#C17CF2 is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.5% C 0.178 H 309.5°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#C17CF2
RGBrgb(193, 124, 242)
HSLhsl(275, 82%, 72%)
HSVhsv(275, 49%, 95%)
CMYKcmyk(20.2%, 48.8%, 0%, 5.1%)
CIE-LABlab(63.48, 47.76, -49.13)
CIE-LCHlch(63.48, 68.52, 314.19°)
OKLaboklab(70.49% 0.1133 -0.1373)
OKLCHoklch(70.49% 0.178 309.5)
XYZxyz(45.2240, 32.1643, 87.8131)
Luminance0.3216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17CF2 #ADF27C
analogous
#867CF2 #C17CF2 #F27CE8
triadic
#C17CF2 #F2C17C #7CF2C1
tetradic
#C17CF2 #F2867C #ADF27C #7CE8F2
square
#C17CF2 #F2867C #ADF27C #7CE8F2
split-complementary
#C17CF2 #E8F27C #7CF286
monochromatic
#8B16DE #A744EC #C17CF2 #DBB4F8 #F2E3FC

Accessibility & contrast

On white

2.83
#C17CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#C17CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17CF2
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17CF2#FFFFFF#000000##000000
##C17CF21.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E97F6
Deuteranopia (green-blind)
#729BEF
Tritanopia (blue-blind)
#BB90AC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c17cf2;
/* rgb */ color: rgb(193, 124, 242);
/* oklch */ color: oklch(70.5% 0.178 309.5);
Tailwind
colors: {
  custom: {
    50: '#d6a4f7',
    500: '#c17cf2',
    950: '#000000',
  },
}
SCSS
$custom: #c17cf2;
$custom-light: #d6a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c17cf2",
  "rgb": {
    "r": 193,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 275.085,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70494,
    "c": 0.17801,
    "h": 309.5
  },
  "luminance": 0.32164
}

Semantic roles & 50–950 ramp

primary
#C17CF2
secondary
#E2F4D6
accent
#DE0761
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C17CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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