#B160E1#B160E1

#B160E1 is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.7% C 0.197 H 311.0°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B160E1
RGBrgb(177, 96, 225)
HSLhsl(278, 68%, 63%)
HSVhsv(278, 57%, 88%)
CMYKcmyk(21.3%, 57.3%, 0%, 11.8%)
CIE-LABlab(55.23, 54.43, -52.88)
CIE-LCHlch(55.23, 75.88, 315.83°)
OKLaboklab(63.72% 0.1292 -0.1485)
OKLCHoklch(63.72% 0.197 311)
XYZxyz(35.9024, 23.1499, 73.7966)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B160E1 #90E160
analogous
#7060E1 #B160E1 #E160D1
triadic
#B160E1 #E1B160 #60E1B1
tetradic
#B160E1 #E17060 #90E160 #60D1E1
square
#B160E1 #E17060 #90E160 #60D1E1
split-complementary
#B160E1 #D1E160 #60E170
monochromatic
#7520A7 #982DD7 #B160E1 #CA93EB #E4C7F4

Accessibility & contrast

On white

3.73
#B160E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#B160E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B160E1
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B160E1#FFFFFF#000000##000000
##B160E11.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3580E5
Deuteranopia (green-blind)
#5586DE
Tritanopia (blue-blind)
#AB7798
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b160e1;
/* rgb */ color: rgb(177, 96, 225);
/* oklch */ color: oklch(63.7% 0.197 311.0);
Tailwind
colors: {
  custom: {
    50: '#cb91eb',
    500: '#b160e1',
    950: '#000000',
  },
}
SCSS
$custom: #b160e1;
$custom-light: #cb91eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b160e1",
  "rgb": {
    "r": 177,
    "g": 96,
    "b": 225
  },
  "hsl": {
    "h": 277.674,
    "s": 68.254,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63717,
    "c": 0.19682,
    "h": 311
  },
  "luminance": 0.23149
}

Semantic roles & 50–950 ramp

primary
#B160E1
secondary
#C8E6B7
accent
#D0155B
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B160E1

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

Preview Lab → · Contrast checker → · Palette generator →

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