#C17FED#C17FED

#C17FED is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.7% C 0.168 H 310.4°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#C17FED
RGBrgb(193, 127, 237)
HSLhsl(276, 75%, 71%)
HSVhsv(276, 46%, 93%)
CMYKcmyk(18.6%, 46.4%, 0%, 7.1%)
CIE-LABlab(63.86, 45.08, -45.77)
CIE-LCHlch(63.86, 64.24, 314.57°)
OKLaboklab(70.7% 0.1087 -0.1275)
OKLCHoklch(70.7% 0.168 310.4)
XYZxyz(44.8650, 32.6314, 84.0394)
Luminance0.3263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17FED #ABED7F
analogous
#8A7FED #C17FED #ED7FE2
triadic
#C17FED #EDC17F #7FEDC1
tetradic
#C17FED #ED8A7F #ABED7F #7FE2ED
square
#C17FED #ED8A7F #ABED7F #7FE2ED
split-complementary
#C17FED #E2ED7F #7FED8A
monochromatic
#8B1ED4 #A749E5 #C17FED #DBB5F5 #F2E4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C17FED#FFFFFF#000000##000000
##C17FED1.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)
#6598F1
Deuteranopia (green-blind)
#779CEA
Tritanopia (blue-blind)
#BC90AB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c17fed;
/* rgb */ color: rgb(193, 127, 237);
/* oklch */ color: oklch(70.7% 0.168 310.4);
Tailwind
colors: {
  custom: {
    50: '#d6a6f3',
    500: '#c17fed',
    950: '#000000',
  },
}
SCSS
$custom: #c17fed;
$custom-light: #d6a6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c17fed",
  "rgb": {
    "r": 193,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 276,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.707,
    "c": 0.16753,
    "h": 310.4
  },
  "luminance": 0.32631
}

Semantic roles & 50–950 ramp

primary
#C17FED
secondary
#E1F2D6
accent
#D80E5F
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #C17FED

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

Preview Lab → · Contrast checker → · Palette generator →

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