#B164CB#B164CB

#B164CB is a light, vivid purple. Relative luminance 0.228; OKLCH L 63.1% C 0.167 H 317.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B164CB
RGBrgb(177, 100, 203)
HSLhsl(285, 50%, 59%)
HSVhsv(285, 51%, 80%)
CMYKcmyk(12.8%, 50.7%, 0%, 20.4%)
CIE-LABlab(54.84, 47.73, -41.03)
CIE-LCHlch(54.84, 62.94, 319.32°)
OKLaboklab(63.06% 0.1224 -0.114)
OKLCHoklch(63.06% 0.167 317)
XYZxyz(33.4666, 22.7744, 59.1213)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B164CB #7ECB64
analogous
#7E64CB #B164CB #CB64B2
triadic
#B164CB #CBB164 #64CBB1
tetradic
#B164CB #CB7E64 #7ECB64 #64B2CB
square
#B164CB #CB7E64 #7ECB64 #64B2CB
split-complementary
#B164CB #B2CB64 #64CB7E
monochromatic
#712D87 #973DB5 #B164CB #C892DA #DFC0EA

Accessibility & contrast

On white

3.78
#B164CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#B164CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B164CB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B164CB#FFFFFF#000000##000000
##B164CB1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7ECE
Deuteranopia (green-blind)
#6786C8
Tritanopia (blue-blind)
#B0738E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b164cb;
/* rgb */ color: rgb(177, 100, 203);
/* oklch */ color: oklch(63.1% 0.167 317.0);
Tailwind
colors: {
  custom: {
    50: '#ca93db',
    500: '#b164cb',
    950: '#000000',
  },
}
SCSS
$custom: #b164cb;
$custom-light: #ca93db;
$custom-dark: #000000;
JSON
{
  "hex": "#b164cb",
  "rgb": {
    "r": 177,
    "g": 100,
    "b": 203
  },
  "hsl": {
    "h": 284.854,
    "s": 49.758,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63056,
    "c": 0.16724,
    "h": 317
  },
  "luminance": 0.22773
}

Semantic roles & 50–950 ramp

primary
#B164CB
secondary
#BBD9B1
accent
#D94F72
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #B164CB

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

Preview Lab → · Contrast checker → · Palette generator →

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