#B18FCA#B18FCA

#B18FCA is a light, moderate violet. Relative luminance 0.333; OKLCH L 70.2% C 0.092 H 310.4°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#B18FCA
RGBrgb(177, 143, 202)
HSLhsl(275, 36%, 68%)
HSVhsv(275, 29%, 79%)
CMYKcmyk(12.4%, 29.2%, 0%, 20.8%)
CIE-LABlab(64.37, 23.90, -25.63)
CIE-LCHlch(64.37, 35.04, 313.00°)
OKLaboklab(70.22% 0.0596 -0.0701)
OKLCHoklch(70.22% 0.092 310.4)
XYZxyz(38.6127, 33.2567, 60.2507)
Luminance0.3326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18FCA #A8CA8F
analogous
#938FCA #B18FCA #CA8FC6
triadic
#B18FCA #CAB18F #8FCAB1
tetradic
#B18FCA #CA938F #A8CA8F #8FC6CA
square
#B18FCA #CA938F #A8CA8F #8FC6CA
split-complementary
#B18FCA #C6CA8F #8FCA93
monochromatic
#754897 #9465B6 #B18FCA #CEB9DE #EBE2F1

Accessibility & contrast

On white

2.74
#B18FCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#B18FCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18FCA
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18FCA#FFFFFF#000000##000000
##B18FCA1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#859ACC
Deuteranopia (green-blind)
#8C9DC8
Tritanopia (blue-blind)
#AE97A4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b18fca;
/* rgb */ color: rgb(177, 143, 202);
/* oklch */ color: oklch(70.2% 0.092 310.4);
Tailwind
colors: {
  custom: {
    50: '#c9b0da',
    500: '#b18fca',
    950: '#000000',
  },
}
SCSS
$custom: #b18fca;
$custom-light: #c9b0da;
$custom-dark: #000000;
JSON
{
  "hex": "#b18fca",
  "rgb": {
    "r": 177,
    "g": 143,
    "b": 202
  },
  "hsl": {
    "h": 274.576,
    "s": 35.758,
    "l": 67.647
  },
  "oklch": {
    "l": 0.7022,
    "c": 0.09204,
    "h": 310.4
  },
  "luminance": 0.33256
}

Semantic roles & 50–950 ramp

primary
#B18FCA
secondary
#D9E4D1
accent
#AF376A
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131014
muted
#827F83

Preview Lab

Preview with #B18FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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