#B167F2#B167F2

#B167F2 is a light, highly saturated violet. Relative luminance 0.255; OKLCH L 65.7% C 0.205 H 306.1°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B167F2
RGBrgb(177, 103, 242)
HSLhsl(272, 84%, 68%)
HSVhsv(272, 57%, 95%)
CMYKcmyk(26.9%, 57.4%, 0%, 5.1%)
CIE-LABlab(57.52, 54.67, -58.72)
CIE-LCHlch(57.52, 80.23, 312.95°)
OKLaboklab(65.71% 0.1208 -0.1656)
OKLCHoklch(65.71% 0.205 306.1)
XYZxyz(39.0053, 25.4587, 86.8464)
Luminance0.2546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B167F2 #A8F267
analogous
#6B67F2 #B167F2 #F267EE
triadic
#B167F2 #F2B167 #67F2B1
tetradic
#B167F2 #F26B67 #A8F267 #67EEF2
square
#B167F2 #F26B67 #A8F267 #67EEF2
split-complementary
#B167F2 #EEF267 #67F26B
monochromatic
#7512CD #942FED #B167F2 #CE9FF7 #EBD8FC

Accessibility & contrast

On white

3.45
#B167F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#B167F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B167F2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B167F2#FFFFFF#000000##000000
##B167F21.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E88F7
Deuteranopia (green-blind)
#4E8BEF
Tritanopia (blue-blind)
#A682A3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b167f2;
/* rgb */ color: rgb(177, 103, 242);
/* oklch */ color: oklch(65.7% 0.205 306.1);
Tailwind
colors: {
  custom: {
    50: '#cc95f7',
    500: '#b167f2',
    950: '#000000',
  },
}
SCSS
$custom: #b167f2;
$custom-light: #cc95f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b167f2",
  "rgb": {
    "r": 177,
    "g": 103,
    "b": 242
  },
  "hsl": {
    "h": 271.942,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65705,
    "c": 0.20501,
    "h": 306.1
  },
  "luminance": 0.25458
}

Semantic roles & 50–950 ramp

primary
#B167F2
secondary
#D9F0C5
accent
#E1056C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #B167F2

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

Preview Lab → · Contrast checker → · Palette generator →

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