#B167F8#B167F8

#B167F8 is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 66.1% C 0.212 H 304.8°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#B167F8
RGBrgb(177, 103, 248)
HSLhsl(271, 91%, 69%)
HSVhsv(271, 58%, 97%)
CMYKcmyk(28.6%, 58.5%, 0%, 2.7%)
CIE-LABlab(57.87, 56.04, -61.49)
CIE-LCHlch(57.87, 83.19, 312.35°)
OKLaboklab(66.07% 0.1208 -0.1737)
OKLCHoklch(66.07% 0.212 304.8)
XYZxyz(39.9213, 25.8251, 91.6704)
Luminance0.2582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B167F8 #AEF867
analogous
#6967F8 #B167F8 #F867F6
triadic
#B167F8 #F8B167 #67F8B1
tetradic
#B167F8 #F86967 #AEF867 #67F6F8
square
#B167F8 #F86967 #AEF867 #67F6F8
split-complementary
#B167F8 #F6F867 #67F869
monochromatic
#740ADB #932CF5 #B167F8 #CFA2FB #EDDCFD

Accessibility & contrast

On white

3.41
#B167F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#B167F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B167F8
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B167F8#FFFFFF#000000##000000
##B167F81.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2489FD
Deuteranopia (green-blind)
#488BF5
Tritanopia (blue-blind)
#A584A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b167f8;
/* rgb */ color: rgb(177, 103, 248);
/* oklch */ color: oklch(66.1% 0.212 304.8);
Tailwind
colors: {
  custom: {
    50: '#cc95fb',
    500: '#b167f8',
    950: '#000000',
  },
}
SCSS
$custom: #b167f8;
$custom-light: #cc95fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b167f8",
  "rgb": {
    "r": 177,
    "g": 103,
    "b": 248
  },
  "hsl": {
    "h": 270.621,
    "s": 91.195,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66074,
    "c": 0.21161,
    "h": 304.8
  },
  "luminance": 0.25825
}

Semantic roles & 50–950 ramp

primary
#B167F8
secondary
#DDF3C8
accent
#E60070
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B167F8

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

Preview Lab → · Contrast checker → · Palette generator →

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