#B167F9#B167F9

#B167F9 is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 66.1% C 0.213 H 304.6°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B167F9
RGBrgb(177, 103, 249)
HSLhsl(270, 92%, 69%)
HSVhsv(270, 59%, 98%)
CMYKcmyk(28.9%, 58.6%, 0%, 2.4%)
CIE-LABlab(57.93, 56.27, -61.95)
CIE-LCHlch(57.93, 83.69, 312.25°)
OKLaboklab(66.14% 0.1208 -0.1751)
OKLCHoklch(66.14% 0.213 304.6)
XYZxyz(40.0768, 25.8873, 92.4896)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B167F9 #AFF967
analogous
#6867F9 #B167F9 #F967F8
triadic
#B167F9 #F9B167 #67F9B1
tetradic
#B167F9 #F96867 #AFF967 #67F8F9
square
#B167F9 #F96867 #AFF967 #67F8F9
split-complementary
#B167F9 #F8F967 #67F968
monochromatic
#7409DD #932CF7 #B167F9 #CFA2FB #EDDDFE

Accessibility & contrast

On white

3.40
#B167F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#B167F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B167F9
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B167F9#FFFFFF#000000##000000
##B167F91.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2289FE
Deuteranopia (green-blind)
#478BF6
Tritanopia (blue-blind)
#A484A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b167f9;
/* rgb */ color: rgb(177, 103, 249);
/* oklch */ color: oklch(66.1% 0.213 304.6);
Tailwind
colors: {
  custom: {
    50: '#cc95fc',
    500: '#b167f9',
    950: '#000000',
  },
}
SCSS
$custom: #b167f9;
$custom-light: #cc95fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b167f9",
  "rgb": {
    "r": 177,
    "g": 103,
    "b": 249
  },
  "hsl": {
    "h": 270.411,
    "s": 92.405,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66136,
    "c": 0.21272,
    "h": 304.6
  },
  "luminance": 0.25887
}

Semantic roles & 50–950 ramp

primary
#B167F9
secondary
#DEF3C8
accent
#E60071
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B167F9

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

Preview Lab → · Contrast checker → · Palette generator →

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