#B160E9#B160E9

#B160E9 is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 64.2% C 0.205 H 309.0°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B160E9
RGBrgb(177, 96, 233)
HSLhsl(275, 76%, 65%)
HSVhsv(275, 59%, 91%)
CMYKcmyk(24%, 58.8%, 0%, 8.6%)
CIE-LABlab(55.68, 56.17, -56.64)
CIE-LCHlch(55.68, 79.77, 314.76°)
OKLaboklab(64.2% 0.1293 -0.1595)
OKLCHoklch(64.2% 0.205 309)
XYZxyz(37.0194, 23.5967, 79.6794)
Luminance0.2360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B160E9 #98E960
analogous
#6C60E9 #B160E9 #E960DD
triadic
#B160E9 #E9B160 #60E9B1
tetradic
#B160E9 #E96C60 #98E960 #60DDE9
square
#B160E9 #E96C60 #98E960 #60DDE9
split-complementary
#B160E9 #DDE960 #60E96C
monochromatic
#7619B5 #972AE2 #B160E9 #CB96F0 #E6CCF8

Accessibility & contrast

On white

3.67
#B160E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#B160E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B160E9
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B160E9#FFFFFF#000000##000000
##B160E91.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A82ED
Deuteranopia (green-blind)
#4E87E6
Tritanopia (blue-blind)
#A97A9C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b160e9;
/* rgb */ color: rgb(177, 96, 233);
/* oklch */ color: oklch(64.2% 0.205 309.0);
Tailwind
colors: {
  custom: {
    50: '#cc91f1',
    500: '#b160e9',
    950: '#000000',
  },
}
SCSS
$custom: #b160e9;
$custom-light: #cc91f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b160e9",
  "rgb": {
    "r": 177,
    "g": 96,
    "b": 233
  },
  "hsl": {
    "h": 275.474,
    "s": 75.691,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64196,
    "c": 0.20532,
    "h": 309
  },
  "luminance": 0.23596
}

Semantic roles & 50–950 ramp

primary
#B160E9
secondary
#CEEABB
accent
#D80E60
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B160E9

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

Preview Lab → · Contrast checker → · Palette generator →

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