#B160E2#B160E2

#B160E2 is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.8% C 0.198 H 310.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B160E2
RGBrgb(177, 96, 226)
HSLhsl(277, 69%, 63%)
HSVhsv(277, 58%, 89%)
CMYKcmyk(21.7%, 57.5%, 0%, 11.4%)
CIE-LABlab(55.28, 54.64, -53.35)
CIE-LCHlch(55.28, 76.37, 315.69°)
OKLaboklab(63.78% 0.1292 -0.1499)
OKLCHoklch(63.78% 0.198 310.8)
XYZxyz(36.0392, 23.2046, 74.5172)
Luminance0.2320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B160E2 #91E260
analogous
#7060E2 #B160E2 #E260D2
triadic
#B160E2 #E2B160 #60E2B1
tetradic
#B160E2 #E27060 #91E260 #60D2E2
square
#B160E2 #E27060 #91E260 #60D2E2
split-complementary
#B160E2 #D2E260 #60E270
monochromatic
#751FA9 #982CD9 #B160E2 #CA94EB #E4C8F5

Accessibility & contrast

On white

3.72
#B160E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#B160E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B160E2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B160E2#FFFFFF#000000##000000
##B160E21.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3481E6
Deuteranopia (green-blind)
#5486DF
Tritanopia (blue-blind)
#AB7898
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b160e2;
/* rgb */ color: rgb(177, 96, 226);
/* oklch */ color: oklch(63.8% 0.198 310.8);
Tailwind
colors: {
  custom: {
    50: '#cb91ec',
    500: '#b160e2',
    950: '#000000',
  },
}
SCSS
$custom: #b160e2;
$custom-light: #cb91ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b160e2",
  "rgb": {
    "r": 177,
    "g": 96,
    "b": 226
  },
  "hsl": {
    "h": 277.385,
    "s": 69.149,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63776,
    "c": 0.19788,
    "h": 310.8
  },
  "luminance": 0.23204
}

Semantic roles & 50–950 ramp

primary
#B160E2
secondary
#C9E6B8
accent
#D1145C
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B160E2

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

Preview Lab → · Contrast checker → · Palette generator →

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