#B167F4#B167F4

#B167F4 is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 65.8% C 0.207 H 305.7°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#B167F4
RGBrgb(177, 103, 244)
HSLhsl(271, 87%, 68%)
HSVhsv(271, 58%, 96%)
CMYKcmyk(27.5%, 57.8%, 0%, 4.3%)
CIE-LABlab(57.64, 55.12, -59.65)
CIE-LCHlch(57.64, 81.22, 312.74°)
OKLaboklab(65.83% 0.1208 -0.1683)
OKLCHoklch(65.83% 0.207 305.7)
XYZxyz(39.3073, 25.5796, 88.4370)
Luminance0.2558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B167F4 #AAF467
analogous
#6A67F4 #B167F4 #F467F1
triadic
#B167F4 #F4B167 #67F4B1
tetradic
#B167F4 #F46A67 #AAF467 #67F1F4
square
#B167F4 #F46A67 #AAF467 #67F1F4
split-complementary
#B167F4 #F1F467 #67F46A
monochromatic
#750FD1 #942EF0 #B167F4 #CEA0F8 #ECD9FC

Accessibility & contrast

On white

3.43
#B167F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#B167F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B167F4
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B167F4#FFFFFF#000000##000000
##B167F41.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B88F9
Deuteranopia (green-blind)
#4C8BF1
Tritanopia (blue-blind)
#A683A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b167f4;
/* rgb */ color: rgb(177, 103, 244);
/* oklch */ color: oklch(65.8% 0.207 305.7);
Tailwind
colors: {
  custom: {
    50: '#cc95f8',
    500: '#b167f4',
    950: '#000000',
  },
}
SCSS
$custom: #b167f4;
$custom-light: #cc95f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b167f4",
  "rgb": {
    "r": 177,
    "g": 103,
    "b": 244
  },
  "hsl": {
    "h": 271.489,
    "s": 86.503,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65827,
    "c": 0.20721,
    "h": 305.7
  },
  "luminance": 0.25579
}

Semantic roles & 50–950 ramp

primary
#B167F4
secondary
#DAF1C6
accent
#E3026D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #B167F4

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

Preview Lab → · Contrast checker → · Palette generator →

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