#B164F9#B164F9

#B164F9 is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.7% C 0.217 H 305.0°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B164F9
RGBrgb(177, 100, 249)
HSLhsl(271, 93%, 68%)
HSVhsv(271, 60%, 98%)
CMYKcmyk(28.9%, 59.8%, 0%, 2.4%)
CIE-LABlab(57.37, 57.78, -62.85)
CIE-LCHlch(57.37, 85.37, 312.59°)
OKLaboklab(65.73% 0.1243 -0.1777)
OKLCHoklch(65.73% 0.217 305)
XYZxyz(39.7838, 25.3012, 92.3919)
Luminance0.2530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B164F9 #ACF964
analogous
#6664F9 #B164F9 #F964F6
triadic
#B164F9 #F9B164 #64F9B1
tetradic
#B164F9 #F96664 #ACF964 #64F6F9
square
#B164F9 #F96664 #ACF964 #64F6F9
split-complementary
#B164F9 #F6F964 #64F966
monochromatic
#7508DA #9329F7 #B164F9 #CF9FFB #ECDAFE

Accessibility & contrast

On white

3.47
#B164F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#B164F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B164F9
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B164F9#FFFFFF#000000##000000
##B164F91.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1488FE
Deuteranopia (green-blind)
#428AF6
Tritanopia (blue-blind)
#A482A5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b164f9;
/* rgb */ color: rgb(177, 100, 249);
/* oklch */ color: oklch(65.7% 0.217 305.0);
Tailwind
colors: {
  custom: {
    50: '#cc94fc',
    500: '#b164f9',
    950: '#000000',
  },
}
SCSS
$custom: #b164f9;
$custom-light: #cc94fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b164f9",
  "rgb": {
    "r": 177,
    "g": 100,
    "b": 249
  },
  "hsl": {
    "h": 271.007,
    "s": 92.547,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65727,
    "c": 0.2169,
    "h": 305
  },
  "luminance": 0.25301
}

Semantic roles & 50–950 ramp

primary
#B164F9
secondary
#DCF3C6
accent
#E6006F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B164F9

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

Preview Lab → · Contrast checker → · Palette generator →

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