#B160E4#B160E4

#B160E4 is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 63.9% C 0.200 H 310.3°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B160E4
RGBrgb(177, 96, 228)
HSLhsl(277, 71%, 64%)
HSVhsv(277, 58%, 89%)
CMYKcmyk(22.4%, 57.9%, 0%, 10.6%)
CIE-LABlab(55.40, 55.08, -54.29)
CIE-LCHlch(55.40, 77.34, 315.41°)
OKLaboklab(63.89% 0.1292 -0.1526)
OKLCHoklch(63.89% 0.2 310.3)
XYZxyz(36.3153, 23.3150, 75.9709)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B160E4 #93E460
analogous
#6F60E4 #B160E4 #E460D5
triadic
#B160E4 #E4B160 #60E4B1
tetradic
#B160E4 #E46F60 #93E460 #60D5E4
square
#B160E4 #E46F60 #93E460 #60D5E4
split-complementary
#B160E4 #D5E460 #60E46F
monochromatic
#751DAC #972CDB #B160E4 #CB94ED #E4C9F6

Accessibility & contrast

On white

3.71
#B160E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#B160E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B160E4
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B160E4#FFFFFF#000000##000000
##B160E41.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3181E8
Deuteranopia (green-blind)
#5286E1
Tritanopia (blue-blind)
#AA7899
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b160e4;
/* rgb */ color: rgb(177, 96, 228);
/* oklch */ color: oklch(63.9% 0.200 310.3);
Tailwind
colors: {
  custom: {
    50: '#cb91ed',
    500: '#b160e4',
    950: '#000000',
  },
}
SCSS
$custom: #b160e4;
$custom-light: #cb91ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b160e4",
  "rgb": {
    "r": 177,
    "g": 96,
    "b": 228
  },
  "hsl": {
    "h": 276.818,
    "s": 70.968,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63894,
    "c": 0.2,
    "h": 310.3
  },
  "luminance": 0.23314
}

Semantic roles & 50–950 ramp

primary
#B160E4
secondary
#CBE7B9
accent
#D3135D
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B160E4

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

Preview Lab → · Contrast checker → · Palette generator →

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