#B164DF#B164DF

#B164DF is a light, vivid violet. Relative luminance 0.238; OKLCH L 64.2% C 0.189 H 311.1°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B164DF
RGBrgb(177, 100, 223)
HSLhsl(278, 66%, 63%)
HSVhsv(278, 55%, 87%)
CMYKcmyk(20.6%, 55.2%, 0%, 12.5%)
CIE-LABlab(55.88, 51.97, -50.71)
CIE-LCHlch(55.88, 72.61, 315.70°)
OKLaboklab(64.16% 0.124 -0.1422)
OKLCHoklch(64.16% 0.189 311.1)
XYZxyz(36.0055, 23.7899, 72.4929)
Luminance0.2379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B164DF #92DF64
analogous
#7364DF #B164DF #DF64CF
triadic
#B164DF #DFB164 #64DFB1
tetradic
#B164DF #DF7364 #92DF64 #64CFDF
square
#B164DF #DF7364 #92DF64 #64CFDF
split-complementary
#B164DF #CFDF64 #64DF73
monochromatic
#7522A6 #9731D5 #B164DF #CB97E9 #E4C9F4

Accessibility & contrast

On white

3.65
#B164DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#B164DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B164DF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B164DF#FFFFFF#000000##000000
##B164DF1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F82E3
Deuteranopia (green-blind)
#5A87DC
Tritanopia (blue-blind)
#AC7A98
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b164df;
/* rgb */ color: rgb(177, 100, 223);
/* oklch */ color: oklch(64.2% 0.189 311.1);
Tailwind
colors: {
  custom: {
    50: '#cb93e9',
    500: '#b164df',
    950: '#000000',
  },
}
SCSS
$custom: #b164df;
$custom-light: #cb93e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b164df",
  "rgb": {
    "r": 177,
    "g": 100,
    "b": 223
  },
  "hsl": {
    "h": 277.561,
    "s": 65.775,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64157,
    "c": 0.18868,
    "h": 311.1
  },
  "luminance": 0.23789
}

Semantic roles & 50–950 ramp

primary
#B164DF
secondary
#CAE5B9
accent
#CE185C
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B164DF

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

Preview Lab → · Contrast checker → · Palette generator →

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