#B164F6#B164F6

#B164F6 is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.5% C 0.214 H 305.6°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B164F6
RGBrgb(177, 100, 246)
HSLhsl(272, 89%, 68%)
HSVhsv(272, 59%, 96%)
CMYKcmyk(28%, 59.3%, 0%, 3.5%)
CIE-LABlab(57.19, 57.09, -61.47)
CIE-LCHlch(57.19, 83.90, 312.88°)
OKLaboklab(65.54% 0.1244 -0.1737)
OKLCHoklch(65.54% 0.214 305.6)
XYZxyz(39.3196, 25.1156, 89.9473)
Luminance0.2511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B164F6 #A9F664
analogous
#6864F6 #B164F6 #F664F2
triadic
#B164F6 #F6B164 #64F6B1
tetradic
#B164F6 #F66864 #A9F664 #64F2F6
square
#B164F6 #F66864 #A9F664 #64F2F6
split-complementary
#B164F6 #F2F664 #64F668
monochromatic
#750CD3 #942AF3 #B164F6 #CE9EF9 #EBD8FD

Accessibility & contrast

On white

3.49
#B164F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#B164F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B164F6
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B164F6#FFFFFF#000000##000000
##B164F61.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D87FB
Deuteranopia (green-blind)
#468AF3
Tritanopia (blue-blind)
#A581A4
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b164f6;
/* rgb */ color: rgb(177, 100, 246);
/* oklch */ color: oklch(65.5% 0.214 305.6);
Tailwind
colors: {
  custom: {
    50: '#cc94fa',
    500: '#b164f6',
    950: '#000000',
  },
}
SCSS
$custom: #b164f6;
$custom-light: #cc94fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b164f6",
  "rgb": {
    "r": 177,
    "g": 100,
    "b": 246
  },
  "hsl": {
    "h": 271.644,
    "s": 89.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65538,
    "c": 0.21364,
    "h": 305.6
  },
  "luminance": 0.25115
}

Semantic roles & 50–950 ramp

primary
#B164F6
secondary
#DAF1C4
accent
#E6006C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #B164F6

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

Preview Lab → · Contrast checker → · Palette generator →

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