#B160FB#B160FB

#B160FB is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.3% C 0.224 H 305.0°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B160FB
RGBrgb(177, 96, 251)
HSLhsl(271, 95%, 68%)
HSVhsv(271, 62%, 98%)
CMYKcmyk(29.5%, 61.8%, 0%, 1.6%)
CIE-LABlab(56.76, 60.21, -64.93)
CIE-LCHlch(56.76, 88.55, 312.84°)
OKLaboklab(65.33% 0.1288 -0.1838)
OKLCHoklch(65.33% 0.224 305)
XYZxyz(39.7231, 24.6781, 93.9188)
Luminance0.2468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B160FB #AAFB60
analogous
#6360FB #B160FB #FB60F7
triadic
#B160FB #FBB160 #60FBB1
tetradic
#B160FB #FB6360 #AAFB60 #60F7FB
square
#B160FB #FB6360 #AAFB60 #60F7FB
split-complementary
#B160FB #F7FB60 #60FB63
monochromatic
#7506DB #9424F9 #B160FB #CE9CFD #ECD7FE

Accessibility & contrast

On white

3.54
#B160FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#B160FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B160FB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B160FB#FFFFFF#000000##000000
##B160FB1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#3A88F8
Tritanopia (blue-blind)
#A480A5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b160fb;
/* rgb */ color: rgb(177, 96, 251);
/* oklch */ color: oklch(65.3% 0.224 305.0);
Tailwind
colors: {
  custom: {
    50: '#cd91fd',
    500: '#b160fb',
    950: '#000000',
  },
}
SCSS
$custom: #b160fb;
$custom-light: #cd91fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b160fb",
  "rgb": {
    "r": 177,
    "g": 96,
    "b": 251
  },
  "hsl": {
    "h": 271.355,
    "s": 95.092,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65325,
    "c": 0.22449,
    "h": 305
  },
  "luminance": 0.24678
}

Semantic roles & 50–950 ramp

primary
#B160FB
secondary
#DAF3C4
accent
#E6006E
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B160FB

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

Preview Lab → · Contrast checker → · Palette generator →

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