#C18DEB#C18DEB

#C18DEB is a light, vivid violet. Relative luminance 0.364; OKLCH L 72.9% C 0.142 H 308.7°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#C18DEB
RGBrgb(193, 141, 235)
HSLhsl(273, 70%, 74%)
HSVhsv(273, 40%, 92%)
CMYKcmyk(17.9%, 40%, 0%, 7.8%)
CIE-LABlab(66.81, 37.05, -40.03)
CIE-LCHlch(66.81, 54.55, 312.79°)
OKLaboklab(72.89% 0.0889 -0.111)
OKLCHoklch(72.89% 0.142 308.7)
XYZxyz(46.5098, 36.3859, 83.1542)
Luminance0.3639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C18DEB #B7EB8D
analogous
#928DEB #C18DEB #EB8DE6
triadic
#C18DEB #EBC18D #8DEBC1
tetradic
#C18DEB #EB928D #B7EB8D #8DE6EB
square
#C18DEB #EB928D #B7EB8D #8DE6EB
split-complementary
#C18DEB #E6EB8D #8DEB92
monochromatic
#8826D8 #A559E2 #C18DEB #DDC1F4 #F1E5FA

Accessibility & contrast

On white

2.54
#C18DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#C18DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C18DEB
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C18DEB#FFFFFF#000000##000000
##C18DEB1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0EF
Deuteranopia (green-blind)
#85A3E8
Tritanopia (blue-blind)
#BC9BB1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c18deb;
/* rgb */ color: rgb(193, 141, 235);
/* oklch */ color: oklch(72.9% 0.142 308.7);
Tailwind
colors: {
  custom: {
    50: '#d5aff2',
    500: '#c18deb',
    950: '#000000',
  },
}
SCSS
$custom: #c18deb;
$custom-light: #d5aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#c18deb",
  "rgb": {
    "r": 193,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 273.191,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72885,
    "c": 0.14219,
    "h": 308.7
  },
  "luminance": 0.36385
}

Semantic roles & 50–950 ramp

primary
#C18DEB
secondary
#E4F2D9
accent
#D21369
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C18DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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