#B167ED#B167ED

#B167ED is a light, vivid violet. Relative luminance 0.252; OKLCH L 65.4% C 0.199 H 307.2°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#B167ED
RGBrgb(177, 103, 237)
HSLhsl(273, 79%, 67%)
HSVhsv(273, 57%, 93%)
CMYKcmyk(25.3%, 56.5%, 0%, 7.1%)
CIE-LABlab(57.23, 53.53, -56.39)
CIE-LCHlch(57.23, 77.76, 313.51°)
OKLaboklab(65.4% 0.1207 -0.1588)
OKLCHoklch(65.4% 0.199 307.2)
XYZxyz(38.2646, 25.1625, 82.9454)
Luminance0.2516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B167ED #A3ED67
analogous
#6E67ED #B167ED #ED67E6
triadic
#B167ED #EDB167 #67EDB1
tetradic
#B167ED #ED6E67 #A3ED67 #67E6ED
square
#B167ED #ED6E67 #A3ED67 #67E6ED
split-complementary
#B167ED #E6ED67 #67ED6E
monochromatic
#7617C3 #9530E7 #B167ED #CD9EF3 #E9D4FA

Accessibility & contrast

On white

3.48
#B167ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#B167ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B167ED
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B167ED#FFFFFF#000000##000000
##B167ED1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3587F1
Deuteranopia (green-blind)
#528AEA
Tritanopia (blue-blind)
#A880A0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b167ed;
/* rgb */ color: rgb(177, 103, 237);
/* oklch */ color: oklch(65.4% 0.199 307.2);
Tailwind
colors: {
  custom: {
    50: '#cc95f3',
    500: '#b167ed',
    950: '#000000',
  },
}
SCSS
$custom: #b167ed;
$custom-light: #cc95f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b167ed",
  "rgb": {
    "r": 177,
    "g": 103,
    "b": 237
  },
  "hsl": {
    "h": 273.134,
    "s": 78.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65403,
    "c": 0.19949,
    "h": 307.2
  },
  "luminance": 0.25162
}

Semantic roles & 50–950 ramp

primary
#B167ED
secondary
#D6EDC2
accent
#DB0A68
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B167ED

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

Preview Lab → · Contrast checker → · Palette generator →

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