#B18BCA#B18BCA

#B18BCA is a light, moderate violet. Relative luminance 0.321; OKLCH L 69.5% C 0.099 H 311.4°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#B18BCA
RGBrgb(177, 139, 202)
HSLhsl(276, 37%, 67%)
HSVhsv(276, 31%, 79%)
CMYKcmyk(12.4%, 31.2%, 0%, 20.8%)
CIE-LABlab(63.41, 26.15, -27.11)
CIE-LCHlch(63.41, 37.66, 313.96°)
OKLaboklab(69.49% 0.0656 -0.0743)
OKLCHoklch(69.49% 0.099 311.4)
XYZxyz(38.0229, 32.0771, 60.0541)
Luminance0.3208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18BCA #A4CA8B
analogous
#928BCA #B18BCA #CA8BC4
triadic
#B18BCA #CAB18B #8BCAB1
tetradic
#B18BCA #CA928B #A4CA8B #8BC4CA
square
#B18BCA #CA928B #A4CA8B #8BC4CA
split-complementary
#B18BCA #C4CA8B #8BCA92
monochromatic
#764596 #9561B7 #B18BCA #CDB5DD #E9DFF0

Accessibility & contrast

On white

2.83
#B18BCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#B18BCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18BCA
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18BCA#FFFFFF#000000##000000
##B18BCA1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8198CD
Deuteranopia (green-blind)
#899AC8
Tritanopia (blue-blind)
#AF93A2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b18bca;
/* rgb */ color: rgb(177, 139, 202);
/* oklch */ color: oklch(69.5% 0.099 311.4);
Tailwind
colors: {
  custom: {
    50: '#c9adda',
    500: '#b18bca',
    950: '#000000',
  },
}
SCSS
$custom: #b18bca;
$custom-light: #c9adda;
$custom-dark: #000000;
JSON
{
  "hex": "#b18bca",
  "rgb": {
    "r": 177,
    "g": 139,
    "b": 202
  },
  "hsl": {
    "h": 276.19,
    "s": 37.278,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69485,
    "c": 0.09908,
    "h": 311.4
  },
  "luminance": 0.32077
}

Semantic roles & 50–950 ramp

primary
#B18BCA
secondary
#D6E2CE
accent
#B03566
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131015
muted
#827F83

Preview Lab

Preview with #B18BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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