#C17BED#C17BED

#C17BED is a light, vivid violet. Relative luminance 0.316; OKLCH L 70.1% C 0.174 H 311.0°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#C17BED
RGBrgb(193, 123, 237)
HSLhsl(277, 76%, 71%)
HSVhsv(277, 48%, 93%)
CMYKcmyk(18.6%, 48.1%, 0%, 7.1%)
CIE-LABlab(63.03, 47.21, -47.08)
CIE-LCHlch(63.03, 66.67, 315.07°)
OKLaboklab(70.08% 0.1141 -0.1313)
OKLCHoklch(70.08% 0.174 311)
XYZxyz(44.3586, 31.6186, 83.8706)
Luminance0.3162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17BED #A7ED7B
analogous
#887BED #C17BED #ED7BE0
triadic
#C17BED #EDC17B #7BEDC1
tetradic
#C17BED #ED887B #A7ED7B #7BE0ED
square
#C17BED #ED887B #A7ED7B #7BE0ED
split-complementary
#C17BED #E0ED7B #7BED88
monochromatic
#8B1DD1 #A845E6 #C17BED #DAB1F4 #F2E4FB

Accessibility & contrast

On white

2.87
#C17BED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#C17BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17BED
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17BED#FFFFFF#000000##000000
##C17BED1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6095F1
Deuteranopia (green-blind)
#749AEA
Tritanopia (blue-blind)
#BC8DA9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c17bed;
/* rgb */ color: rgb(193, 123, 237);
/* oklch */ color: oklch(70.1% 0.174 311.0);
Tailwind
colors: {
  custom: {
    50: '#d6a3f3',
    500: '#c17bed',
    950: '#000000',
  },
}
SCSS
$custom: #c17bed;
$custom-light: #d6a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c17bed",
  "rgb": {
    "r": 193,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 276.842,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70078,
    "c": 0.17396,
    "h": 311
  },
  "luminance": 0.31618
}

Semantic roles & 50–950 ramp

primary
#C17BED
secondary
#DEF1D2
accent
#D80D5C
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C17BED

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

Preview Lab → · Contrast checker → · Palette generator →

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