#B167FA#B167FA

#B167FA is a light, highly saturated violet. Relative luminance 0.260; OKLCH L 66.2% C 0.214 H 304.4°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#B167FA
RGBrgb(177, 103, 250)
HSLhsl(270, 94%, 69%)
HSVhsv(270, 59%, 98%)
CMYKcmyk(29.2%, 58.8%, 0%, 2%)
CIE-LABlab(57.99, 56.50, -62.40)
CIE-LCHlch(57.99, 84.18, 312.16°)
OKLaboklab(66.2% 0.1208 -0.1764)
OKLCHoklch(66.2% 0.214 304.4)
XYZxyz(40.2332, 25.9499, 93.3132)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B167FA #B0FA67
analogous
#6867FA #B167FA #FA67FA
triadic
#B167FA #FAB167 #67FAB1
tetradic
#B167FA #FA6867 #B0FA67 #67FAFA
square
#B167FA #FA6867 #B0FA67 #67FAFA
split-complementary
#B167FA #FAFA67 #67FA68
monochromatic
#7407DF #932CF8 #B167FA #CFA2FC #EEDEFE

Accessibility & contrast

On white

3.39
#B167FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#B167FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B167FA
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B167FA#FFFFFF#000000##000000
##B167FA1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F89FF
Deuteranopia (green-blind)
#458BF7
Tritanopia (blue-blind)
#A485A7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b167fa;
/* rgb */ color: rgb(177, 103, 250);
/* oklch */ color: oklch(66.2% 0.214 304.4);
Tailwind
colors: {
  custom: {
    50: '#cc95fd',
    500: '#b167fa',
    950: '#000000',
  },
}
SCSS
$custom: #b167fa;
$custom-light: #cc95fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b167fa",
  "rgb": {
    "r": 177,
    "g": 103,
    "b": 250
  },
  "hsl": {
    "h": 270.204,
    "s": 93.631,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66199,
    "c": 0.21381,
    "h": 304.4
  },
  "luminance": 0.2595
}

Semantic roles & 50–950 ramp

primary
#B167FA
secondary
#DEF4C9
accent
#E60072
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B167FA

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

Preview Lab → · Contrast checker → · Palette generator →

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