#C18BED#C18BED

#C18BED is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.6% C 0.148 H 308.5°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#C18BED
RGBrgb(193, 139, 237)
HSLhsl(273, 73%, 74%)
HSVhsv(273, 41%, 93%)
CMYKcmyk(18.6%, 41.4%, 0%, 7.1%)
CIE-LABlab(66.46, 38.59, -41.69)
CIE-LCHlch(66.46, 56.80, 312.79°)
OKLaboklab(72.65% 0.0921 -0.1158)
OKLCHoklch(72.65% 0.148 308.5)
XYZxyz(46.5081, 35.9177, 84.5871)
Luminance0.3592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C18BED #B7ED8B
analogous
#908BED #C18BED #ED8BE8
triadic
#C18BED #EDC18B #8BEDC1
tetradic
#C18BED #ED908B #B7ED8B #8BE8ED
square
#C18BED #ED908B #B7ED8B #8BE8ED
split-complementary
#C18BED #E8ED8B #8BED90
monochromatic
#8822DC #A556E5 #C18BED #DDC0F5 #F1E5FB

Accessibility & contrast

On white

2.57
#C18BED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#C18BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C18BED
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C18BED#FFFFFF#000000##000000
##C18BED1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#759FF1
Deuteranopia (green-blind)
#82A2EA
Tritanopia (blue-blind)
#BB9AB1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c18bed;
/* rgb */ color: rgb(193, 139, 237);
/* oklch */ color: oklch(72.6% 0.148 308.5);
Tailwind
colors: {
  custom: {
    50: '#d5aef3',
    500: '#c18bed',
    950: '#000000',
  },
}
SCSS
$custom: #c18bed;
$custom-light: #d5aef3;
$custom-dark: #000000;
JSON
{
  "hex": "#c18bed",
  "rgb": {
    "r": 193,
    "g": 139,
    "b": 237
  },
  "hsl": {
    "h": 273.061,
    "s": 73.134,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72645,
    "c": 0.1479,
    "h": 308.5
  },
  "luminance": 0.35917
}

Semantic roles & 50–950 ramp

primary
#C18BED
secondary
#E4F3D8
accent
#D51069
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C18BED

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

Preview Lab → · Contrast checker → · Palette generator →

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