#B164EB#B164EB

#B164EB is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 64.9% C 0.202 H 308.1°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#B164EB
RGBrgb(177, 100, 235)
HSLhsl(274, 77%, 66%)
HSVhsv(274, 57%, 92%)
CMYKcmyk(24.7%, 57.4%, 0%, 7.8%)
CIE-LABlab(56.55, 54.61, -56.38)
CIE-LCHlch(56.55, 78.49, 314.09°)
OKLaboklab(64.86% 0.1244 -0.1588)
OKLCHoklch(64.86% 0.202 308.1)
XYZxyz(37.6810, 24.4601, 81.3174)
Luminance0.2446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B164EB #9EEB64
analogous
#6D64EB #B164EB #EB64E2
triadic
#B164EB #EBB164 #64EBB1
tetradic
#B164EB #EB6D64 #9EEB64 #64E2EB
square
#B164EB #EB6D64 #9EEB64 #64E2EB
split-complementary
#B164EB #E2EB64 #64EB6D
monochromatic
#7618BC #962EE4 #B164EB #CC9AF2 #E8D0F9

Accessibility & contrast

On white

3.56
#B164EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#B164EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B164EB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B164EB#FFFFFF#000000##000000
##B164EB1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3185EF
Deuteranopia (green-blind)
#5189E8
Tritanopia (blue-blind)
#A87D9E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b164eb;
/* rgb */ color: rgb(177, 100, 235);
/* oklch */ color: oklch(64.9% 0.202 308.1);
Tailwind
colors: {
  custom: {
    50: '#cc93f2',
    500: '#b164eb',
    950: '#000000',
  },
}
SCSS
$custom: #b164eb;
$custom-light: #cc93f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b164eb",
  "rgb": {
    "r": 177,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 274.222,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64863,
    "c": 0.20169,
    "h": 308.1
  },
  "luminance": 0.2446
}

Semantic roles & 50–950 ramp

primary
#B164EB
secondary
#D2ECBF
accent
#D90C64
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B164EB

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

Preview Lab → · Contrast checker → · Palette generator →

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