#B164F5#B164F5

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

Color values

HEX#B164F5
RGBrgb(177, 100, 245)
HSLhsl(272, 88%, 68%)
HSVhsv(272, 59%, 96%)
CMYKcmyk(27.8%, 59.2%, 0%, 3.9%)
CIE-LABlab(57.13, 56.87, -61.01)
CIE-LCHlch(57.13, 83.41, 312.98°)
OKLaboklab(65.48% 0.1244 -0.1723)
OKLCHoklch(65.48% 0.213 305.8)
XYZxyz(39.1665, 25.0543, 89.1411)
Luminance0.2505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B164F5 #A8F564
analogous
#6864F5 #B164F5 #F564F1
triadic
#B164F5 #F5B164 #64F5B1
tetradic
#B164F5 #F56864 #A8F564 #64F1F5
square
#B164F5 #F56864 #A8F564 #64F1F5
split-complementary
#B164F5 #F1F564 #64F568
monochromatic
#750DD1 #942BF1 #B164F5 #CE9DF9 #EBD7FC

Accessibility & contrast

On white

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

On black

6.01
#B164F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B164F5
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B164F5#FFFFFF#000000##000000
##B164F51.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F87FA
Deuteranopia (green-blind)
#4789F2
Tritanopia (blue-blind)
#A681A3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b164f5;
/* rgb */ color: rgb(177, 100, 245);
/* oklch */ color: oklch(65.5% 0.213 305.8);
Tailwind
colors: {
  custom: {
    50: '#cc93f9',
    500: '#b164f5',
    950: '#000000',
  },
}
SCSS
$custom: #b164f5;
$custom-light: #cc93f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b164f5",
  "rgb": {
    "r": 177,
    "g": 100,
    "b": 245
  },
  "hsl": {
    "h": 271.862,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65476,
    "c": 0.21255,
    "h": 305.8
  },
  "luminance": 0.25054
}

Semantic roles & 50–950 ramp

primary
#B164F5
secondary
#D9F1C4
accent
#E4016C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #B164F5

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

Preview Lab → · Contrast checker → · Palette generator →

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