#B160FD#B160FD

#B160FD is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.5% C 0.227 H 304.6°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#B160FD
RGBrgb(177, 96, 253)
HSLhsl(271, 98%, 68%)
HSVhsv(271, 62%, 99%)
CMYKcmyk(30%, 62.1%, 0%, 0.8%)
CIE-LABlab(56.88, 60.66, -65.84)
CIE-LCHlch(56.88, 89.52, 312.66°)
OKLaboklab(65.46% 0.1287 -0.1865)
OKLCHoklch(65.46% 0.227 304.6)
XYZxyz(40.0400, 24.8049, 95.5879)
Luminance0.2480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B160FD #ACFD60
analogous
#6260FD #B160FD #FD60FB
triadic
#B160FD #FDB160 #60FDB1
tetradic
#B160FD #FD6260 #ACFD60 #60FBFD
square
#B160FD #FD6260 #ACFD60 #60FBFD
split-complementary
#B160FD #FBFD60 #60FD62
monochromatic
#7503E0 #9324FC #B160FD #CF9CFE #ECD9FF

Accessibility & contrast

On white

3.52
#B160FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#B160FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B160FD
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B160FD#FFFFFF#000000##000000
##B160FD1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#3789F9
Tritanopia (blue-blind)
#A381A6
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b160fd;
/* rgb */ color: rgb(177, 96, 253);
/* oklch */ color: oklch(65.5% 0.227 304.6);
Tailwind
colors: {
  custom: {
    50: '#cd91ff',
    500: '#b160fd',
    950: '#000000',
  },
}
SCSS
$custom: #b160fd;
$custom-light: #cd91ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b160fd",
  "rgb": {
    "r": 177,
    "g": 96,
    "b": 253
  },
  "hsl": {
    "h": 270.955,
    "s": 97.516,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65455,
    "c": 0.22662,
    "h": 304.6
  },
  "luminance": 0.24805
}

Semantic roles & 50–950 ramp

primary
#B160FD
secondary
#DCF4C5
accent
#E6006F
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B160FD

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

Preview Lab → · Contrast checker → · Palette generator →

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