#C18BFB#C18BFB

#C18BFB is a light, vivid violet. Relative luminance 0.368; OKLCH L 73.3% C 0.165 H 304.9°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#C18BFB
RGBrgb(193, 139, 251)
HSLhsl(269, 93%, 76%)
HSVhsv(269, 45%, 98%)
CMYKcmyk(23.1%, 44.6%, 0%, 1.6%)
CIE-LABlab(67.10, 41.72, -48.35)
CIE-LCHlch(67.10, 63.86, 310.79°)
OKLaboklab(73.34% 0.0943 -0.1351)
OKLCHoklch(73.34% 0.165 304.9)
XYZxyz(48.6339, 36.7680, 95.7829)
Luminance0.3677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C18BFB #C5FB8B
analogous
#8B8DFB #C18BFB #F98BFB
triadic
#C18BFB #FBC18B #8BFBC1
tetradic
#C18BFB #FB8B8D #C5FB8B #8BFBF9
square
#C18BFB #FB8B8D #C5FB8B #8BFBF9
split-complementary
#C18BFB #FBF98B #8DFB8B
monochromatic
#8215F7 #A150F9 #C18BFB #E1C6FD #EFE1FE

Accessibility & contrast

On white

2.51
#C18BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#C18BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C18BFB
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C18BFB#FFFFFF#000000##000000
##C18BFB1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA2FF
Deuteranopia (green-blind)
#7BA3F8
Tritanopia (blue-blind)
#B89EB7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c18bfb;
/* rgb */ color: rgb(193, 139, 251);
/* oklch */ color: oklch(73.3% 0.165 304.9);
Tailwind
colors: {
  custom: {
    50: '#d6aefd',
    500: '#c18bfb',
    950: '#000000',
  },
}
SCSS
$custom: #c18bfb;
$custom-light: #d6aefd;
$custom-dark: #000000;
JSON
{
  "hex": "#c18bfb",
  "rgb": {
    "r": 193,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 268.929,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73341,
    "c": 0.16473,
    "h": 304.9
  },
  "luminance": 0.36768
}

Semantic roles & 50–950 ramp

primary
#C18BFB
secondary
#E6F6D5
accent
#E60077
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #C18BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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