#B164DB#B164DB

#B164DB is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.9% C 0.184 H 312.2°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B164DB
RGBrgb(177, 100, 219)
HSLhsl(279, 62%, 63%)
HSVhsv(279, 54%, 86%)
CMYKcmyk(19.2%, 54.3%, 0%, 14.1%)
CIE-LABlab(55.66, 51.10, -48.80)
CIE-LCHlch(55.66, 70.66, 316.32°)
OKLaboklab(63.93% 0.1238 -0.1366)
OKLCHoklch(63.93% 0.184 312.2)
XYZxyz(35.4726, 23.5768, 69.6862)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B164DB #8EDB64
analogous
#7664DB #B164DB #DB64C9
triadic
#B164DB #DBB164 #64DBB1
tetradic
#B164DB #DB7664 #8EDB64 #64C9DB
square
#B164DB #DB7664 #8EDB64 #64C9DB
split-complementary
#B164DB #C9DB64 #64DB76
monochromatic
#7425A0 #9832CF #B164DB #CA96E7 #E3C7F2

Accessibility & contrast

On white

3.67
#B164DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#B164DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B164DB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B164DB#FFFFFF#000000##000000
##B164DB1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4381DF
Deuteranopia (green-blind)
#5D87D8
Tritanopia (blue-blind)
#AD7896
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b164db;
/* rgb */ color: rgb(177, 100, 219);
/* oklch */ color: oklch(63.9% 0.184 312.2);
Tailwind
colors: {
  custom: {
    50: '#cb93e7',
    500: '#b164db',
    950: '#000000',
  },
}
SCSS
$custom: #b164db;
$custom-light: #cb93e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b164db",
  "rgb": {
    "r": 177,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 278.824,
    "s": 62.304,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6393,
    "c": 0.18435,
    "h": 312.2
  },
  "luminance": 0.23576
}

Semantic roles & 50–950 ramp

primary
#B164DB
secondary
#C7E3B8
accent
#CA1B59
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B164DB

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

Preview Lab → · Contrast checker → · Palette generator →

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