#B164DD#B164DD

#B164DD is a light, vivid violet. Relative luminance 0.237; OKLCH L 64.0% C 0.187 H 311.6°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B164DD
RGBrgb(177, 100, 221)
HSLhsl(278, 64%, 63%)
HSVhsv(278, 55%, 87%)
CMYKcmyk(19.9%, 54.8%, 0%, 13.3%)
CIE-LABlab(55.77, 51.53, -49.76)
CIE-LCHlch(55.77, 71.64, 316.00°)
OKLaboklab(64.04% 0.1239 -0.1394)
OKLCHoklch(64.04% 0.187 311.6)
XYZxyz(35.7374, 23.6827, 71.0812)
Luminance0.2368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B164DD #90DD64
analogous
#7464DD #B164DD #DD64CC
triadic
#B164DD #DDB164 #64DDB1
tetradic
#B164DD #DD7464 #90DD64 #64CCDD
square
#B164DD #DD7464 #90DD64 #64CCDD
split-complementary
#B164DD #CCDD64 #64DD74
monochromatic
#7524A3 #9832D2 #B164DD #CA96E8 #E4C8F3

Accessibility & contrast

On white

3.66
#B164DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#B164DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B164DD
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B164DD#FFFFFF#000000##000000
##B164DD1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4182E1
Deuteranopia (green-blind)
#5C87DA
Tritanopia (blue-blind)
#AC7997
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b164dd;
/* rgb */ color: rgb(177, 100, 221);
/* oklch */ color: oklch(64.0% 0.187 311.6);
Tailwind
colors: {
  custom: {
    50: '#cb93e8',
    500: '#b164dd',
    950: '#000000',
  },
}
SCSS
$custom: #b164dd;
$custom-light: #cb93e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b164dd",
  "rgb": {
    "r": 177,
    "g": 100,
    "b": 221
  },
  "hsl": {
    "h": 278.182,
    "s": 64.021,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64043,
    "c": 0.18652,
    "h": 311.6
  },
  "luminance": 0.23682
}

Semantic roles & 50–950 ramp

primary
#B164DD
secondary
#C8E4B9
accent
#CC1A5A
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B164DD

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

Preview Lab → · Contrast checker → · Palette generator →

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