#B167E5#B167E5

#B167E5 is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.9% C 0.191 H 309.2°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B167E5
RGBrgb(177, 103, 229)
HSLhsl(275, 71%, 65%)
HSVhsv(275, 55%, 90%)
CMYKcmyk(22.7%, 55%, 0%, 10.2%)
CIE-LABlab(56.79, 51.74, -52.63)
CIE-LCHlch(56.79, 73.81, 314.51°)
OKLaboklab(64.93% 0.1205 -0.1478)
OKLCHoklch(64.93% 0.191 309.2)
XYZxyz(37.1218, 24.7053, 76.9266)
Luminance0.2470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B167E5 #9BE567
analogous
#7267E5 #B167E5 #E567DA
triadic
#B167E5 #E5B167 #67E5B1
tetradic
#B167E5 #E57267 #9BE567 #67DAE5
square
#B167E5 #E57267 #9BE567 #67DAE5
split-complementary
#B167E5 #DAE567 #67E572
monochromatic
#761FB3 #9633DC #B167E5 #CC9BEE #E7D0F7

Accessibility & contrast

On white

3.53
#B167E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#B167E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B167E5
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B167E5#FFFFFF#000000##000000
##B167E51.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F85E9
Deuteranopia (green-blind)
#5989E2
Tritanopia (blue-blind)
#AA7E9C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b167e5;
/* rgb */ color: rgb(177, 103, 229);
/* oklch */ color: oklch(64.9% 0.191 309.2);
Tailwind
colors: {
  custom: {
    50: '#cb95ee',
    500: '#b167e5',
    950: '#000000',
  },
}
SCSS
$custom: #b167e5;
$custom-light: #cb95ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b167e5",
  "rgb": {
    "r": 177,
    "g": 103,
    "b": 229
  },
  "hsl": {
    "h": 275.238,
    "s": 70.787,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64932,
    "c": 0.19068,
    "h": 309.2
  },
  "luminance": 0.24705
}

Semantic roles & 50–950 ramp

primary
#B167E5
secondary
#D0E9BF
accent
#D31362
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B167E5

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

Preview Lab → · Contrast checker → · Palette generator →

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