#B163E8#B163E8

#B163E8 is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.5% C 0.200 H 308.9°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B163E8
RGBrgb(177, 99, 232)
HSLhsl(275, 74%, 65%)
HSVhsv(275, 57%, 91%)
CMYKcmyk(23.7%, 57.3%, 0%, 9%)
CIE-LABlab(56.19, 54.45, -55.27)
CIE-LCHlch(56.19, 77.59, 314.57°)
OKLaboklab(64.55% 0.1256 -0.1555)
OKLCHoklch(64.55% 0.2 308.9)
XYZxyz(37.1559, 24.0976, 79.0222)
Luminance0.2410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B163E8 #9AE863
analogous
#6E63E8 #B163E8 #E863DD
triadic
#B163E8 #E8B163 #63E8B1
tetradic
#B163E8 #E86E63 #9AE863 #63DDE8
square
#B163E8 #E86E63 #9AE863 #63DDE8
split-complementary
#B163E8 #DDE863 #63E86E
monochromatic
#761BB6 #962EE0 #B163E8 #CC98F0 #E6CEF8

Accessibility & contrast

On white

3.61
#B163E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#B163E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B163E8
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B163E8#FFFFFF#000000##000000
##B163E81.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3383EC
Deuteranopia (green-blind)
#5288E5
Tritanopia (blue-blind)
#A97C9C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b163e8;
/* rgb */ color: rgb(177, 99, 232);
/* oklch */ color: oklch(64.5% 0.200 308.9);
Tailwind
colors: {
  custom: {
    50: '#cc93f0',
    500: '#b163e8',
    950: '#000000',
  },
}
SCSS
$custom: #b163e8;
$custom-light: #cc93f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b163e8",
  "rgb": {
    "r": 177,
    "g": 99,
    "b": 232
  },
  "hsl": {
    "h": 275.188,
    "s": 74.302,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64545,
    "c": 0.19991,
    "h": 308.9
  },
  "luminance": 0.24097
}

Semantic roles & 50–950 ramp

primary
#B163E8
secondary
#CFEABD
accent
#D60F62
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B163E8

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

Preview Lab → · Contrast checker → · Palette generator →

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