#B164CD#B164CD

#B164CD is a light, vivid purple. Relative luminance 0.229; OKLCH L 63.2% C 0.169 H 316.4°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B164CD
RGBrgb(177, 100, 205)
HSLhsl(284, 51%, 60%)
HSVhsv(284, 51%, 80%)
CMYKcmyk(13.7%, 51.2%, 0%, 19.6%)
CIE-LABlab(54.94, 48.14, -42.01)
CIE-LCHlch(54.94, 63.89, 318.89°)
OKLaboklab(63.16% 0.1226 -0.1169)
OKLCHoklch(63.16% 0.169 316.4)
XYZxyz(33.7064, 22.8703, 60.3846)
Luminance0.2287 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B164CD #80CD64
analogous
#7C64CD #B164CD #CD64B5
triadic
#B164CD #CDB164 #64CDB1
tetradic
#B164CD #CD7C64 #80CD64 #64B5CD
square
#B164CD #CD7C64 #80CD64 #64B5CD
split-complementary
#B164CD #B5CD64 #64CD7C
monochromatic
#712D8A #973BB8 #B164CD #C892DC #E0C1EB

Accessibility & contrast

On white

3.77
#B164CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#B164CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B164CD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B164CD#FFFFFF#000000##000000
##B164CD1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7FD1
Deuteranopia (green-blind)
#6686CA
Tritanopia (blue-blind)
#B0748F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b164cd;
/* rgb */ color: rgb(177, 100, 205);
/* oklch */ color: oklch(63.2% 0.169 316.4);
Tailwind
colors: {
  custom: {
    50: '#ca93dc',
    500: '#b164cd',
    950: '#000000',
  },
}
SCSS
$custom: #b164cd;
$custom-light: #ca93dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b164cd",
  "rgb": {
    "r": 177,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 284,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63162,
    "c": 0.16937,
    "h": 316.4
  },
  "luminance": 0.22869
}

Semantic roles & 50–950 ramp

primary
#B164CD
secondary
#BDDBB2
accent
#DB4D73
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #B164CD

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

Preview Lab → · Contrast checker → · Palette generator →

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