#C18BF8#C18BF8

#C18BF8 is a light, vivid violet. Relative luminance 0.366; OKLCH L 73.2% C 0.161 H 305.6°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#C18BF8
RGBrgb(193, 139, 248)
HSLhsl(270, 89%, 76%)
HSVhsv(270, 44%, 97%)
CMYKcmyk(22.2%, 44%, 0%, 2.7%)
CIE-LABlab(66.96, 41.04, -46.94)
CIE-LCHlch(66.96, 62.35, 311.16°)
OKLaboklab(73.19% 0.0939 -0.1309)
OKLCHoklch(73.19% 0.161 305.6)
XYZxyz(48.1647, 36.5803, 93.3121)
Luminance0.3658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C18BF8 #C2F88B
analogous
#8B8BF8 #C18BF8 #F88BF8
triadic
#C18BF8 #F8C18B #8BF8C1
tetradic
#C18BF8 #F88B8B #C2F88B #8BF8F8
square
#C18BF8 #F88B8B #C2F88B #8BF8F8
split-complementary
#C18BF8 #F8F88B #8BF88B
monochromatic
#8318F1 #A251F5 #C18BF8 #E0C5FB #F0E2FD

Accessibility & contrast

On white

2.53
#C18BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#C18BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C18BF8
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C18BF8#FFFFFF#000000##000000
##C18BF81.002.538.328.32
#FFFFFF2.531.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A1FC
Deuteranopia (green-blind)
#7DA3F5
Tritanopia (blue-blind)
#B89DB6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c18bf8;
/* rgb */ color: rgb(193, 139, 248);
/* oklch */ color: oklch(73.2% 0.161 305.6);
Tailwind
colors: {
  custom: {
    50: '#d6aefb',
    500: '#c18bf8',
    950: '#000000',
  },
}
SCSS
$custom: #c18bf8;
$custom-light: #d6aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#c18bf8",
  "rgb": {
    "r": 193,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 269.725,
    "s": 88.618,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73189,
    "c": 0.16112,
    "h": 305.6
  },
  "luminance": 0.3658
}

Semantic roles & 50–950 ramp

primary
#C18BF8
secondary
#E6F5D6
accent
#E50074
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #C18BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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