#C17BF2#C17BF2

#C17BF2 is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.3% C 0.180 H 309.7°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#C17BF2
RGBrgb(193, 123, 242)
HSLhsl(275, 82%, 72%)
HSVhsv(275, 49%, 95%)
CMYKcmyk(20.2%, 49.2%, 0%, 5.1%)
CIE-LABlab(63.27, 48.29, -49.46)
CIE-LCHlch(63.27, 69.13, 314.32°)
OKLaboklab(70.34% 0.1147 -0.1382)
OKLCHoklch(70.34% 0.18 309.7)
XYZxyz(45.0993, 31.9149, 87.7716)
Luminance0.3191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17BF2 #ACF27B
analogous
#867BF2 #C17BF2 #F27BE8
triadic
#C17BF2 #F2C17B #7BF2C1
tetradic
#C17BF2 #F2867B #ACF27B #7BE8F2
square
#C17BF2 #F2867B #ACF27B #7BE8F2
split-complementary
#C17BF2 #E8F27B #7BF286
monochromatic
#8B16DD #A743ED #C17BF2 #DBB3F7 #F2E3FC

Accessibility & contrast

On white

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

On black

7.38
#C17BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17BF2
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17BF2#FFFFFF#000000##000000
##C17BF21.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C96F6
Deuteranopia (green-blind)
#719AEF
Tritanopia (blue-blind)
#BB8FAB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c17bf2;
/* rgb */ color: rgb(193, 123, 242);
/* oklch */ color: oklch(70.3% 0.180 309.7);
Tailwind
colors: {
  custom: {
    50: '#d6a3f7',
    500: '#c17bf2',
    950: '#000000',
  },
}
SCSS
$custom: #c17bf2;
$custom-light: #d6a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c17bf2",
  "rgb": {
    "r": 193,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 275.294,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70341,
    "c": 0.17959,
    "h": 309.7
  },
  "luminance": 0.31914
}

Semantic roles & 50–950 ramp

primary
#C17BF2
secondary
#E2F4D5
accent
#DE0760
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C17BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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