#B164E5#B164E5

#B164E5 is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.5% C 0.195 H 309.5°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B164E5
RGBrgb(177, 100, 229)
HSLhsl(276, 71%, 65%)
HSVhsv(276, 56%, 90%)
CMYKcmyk(22.7%, 56.3%, 0%, 10.2%)
CIE-LABlab(56.21, 53.28, -53.56)
CIE-LCHlch(56.21, 75.55, 314.85°)
OKLaboklab(64.51% 0.1243 -0.1505)
OKLCHoklch(64.51% 0.195 309.5)
XYZxyz(36.8288, 24.1192, 76.8289)
Luminance0.2412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B164E5 #98E564
analogous
#7164E5 #B164E5 #E564D9
triadic
#B164E5 #E5B164 #64E5B1
tetradic
#B164E5 #E57164 #98E564 #64D9E5
square
#B164E5 #E57164 #98E564 #64D9E5
split-complementary
#B164E5 #D9E564 #64E571
monochromatic
#761EB1 #9730DC #B164E5 #CB98EE #E6CDF7

Accessibility & contrast

On white

3.61
#B164E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#B164E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B164E5
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B164E5#FFFFFF#000000##000000
##B164E51.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3983E9
Deuteranopia (green-blind)
#5688E2
Tritanopia (blue-blind)
#AA7B9B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b164e5;
/* rgb */ color: rgb(177, 100, 229);
/* oklch */ color: oklch(64.5% 0.195 309.5);
Tailwind
colors: {
  custom: {
    50: '#cb93ee',
    500: '#b164e5',
    950: '#000000',
  },
}
SCSS
$custom: #b164e5;
$custom-light: #cb93ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b164e5",
  "rgb": {
    "r": 177,
    "g": 100,
    "b": 229
  },
  "hsl": {
    "h": 275.814,
    "s": 71.271,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64506,
    "c": 0.19518,
    "h": 309.5
  },
  "luminance": 0.24119
}

Semantic roles & 50–950 ramp

primary
#B164E5
secondary
#CEE9BC
accent
#D31260
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B164E5

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

Preview Lab → · Contrast checker → · Palette generator →

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