#B164F7#B164F7

#B164F7 is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.6% C 0.215 H 305.4°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#B164F7
RGBrgb(177, 100, 247)
HSLhsl(271, 90%, 68%)
HSVhsv(271, 60%, 97%)
CMYKcmyk(28.3%, 59.5%, 0%, 3.1%)
CIE-LABlab(57.25, 57.32, -61.93)
CIE-LCHlch(57.25, 84.39, 312.79°)
OKLaboklab(65.6% 0.1244 -0.175)
OKLCHoklch(65.6% 0.215 305.4)
XYZxyz(39.4735, 25.1771, 90.7578)
Luminance0.2518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B164F7 #AAF764
analogous
#6864F7 #B164F7 #F764F3
triadic
#B164F7 #F7B164 #64F7B1
tetradic
#B164F7 #F76864 #AAF764 #64F3F7
square
#B164F7 #F76864 #AAF764 #64F3F7
split-complementary
#B164F7 #F3F764 #64F768
monochromatic
#750BD6 #942AF4 #B164F7 #CE9EFA #ECD8FD

Accessibility & contrast

On white

3.48
#B164F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#B164F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B164F7
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B164F7#FFFFFF#000000##000000
##B164F71.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A87FC
Deuteranopia (green-blind)
#458AF4
Tritanopia (blue-blind)
#A582A4
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b164f7;
/* rgb */ color: rgb(177, 100, 247);
/* oklch */ color: oklch(65.6% 0.215 305.4);
Tailwind
colors: {
  custom: {
    50: '#cc94fb',
    500: '#b164f7',
    950: '#000000',
  },
}
SCSS
$custom: #b164f7;
$custom-light: #cc94fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b164f7",
  "rgb": {
    "r": 177,
    "g": 100,
    "b": 247
  },
  "hsl": {
    "h": 271.429,
    "s": 90.184,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65601,
    "c": 0.21473,
    "h": 305.4
  },
  "luminance": 0.25177
}

Semantic roles & 50–950 ramp

primary
#B164F7
secondary
#DAF2C5
accent
#E6006D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B164F7

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

Preview Lab → · Contrast checker → · Palette generator →

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