#B170FF#B170FF

#B170FF is a light, highly saturated violet. Relative luminance 0.282; OKLCH L 67.8% C 0.207 H 302.2°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#B170FF
RGBrgb(177, 112, 255)
HSLhsl(267, 100%, 72%)
HSVhsv(267, 56%, 100%)
CMYKcmyk(30.6%, 56.1%, 0%, 0%)
CIE-LABlab(60.03, 53.04, -61.89)
CIE-LCHlch(60.03, 81.51, 310.60°)
OKLaboklab(67.79% 0.11 -0.175)
OKLCHoklch(67.79% 0.207 302.2)
XYZxyz(41.9715, 28.1554, 97.8117)
Luminance0.2816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B170FF #BEFF70
analogous
#7077FF #B170FF #F970FF
triadic
#B170FF #FFB170 #70FFB1
tetradic
#B170FF #FF7077 #BEFF70 #70FFF9
square
#B170FF #FF7077 #BEFF70 #70FFF9
split-complementary
#B170FF #FFF970 #77FF70
monochromatic
#6F00F5 #9033FF #B170FF #D2ADFF #EEE0FF

Accessibility & contrast

On white

3.17
#B170FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#B170FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B170FF
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B170FF#FFFFFF#000000##000000
##B170FF1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3390FF
Deuteranopia (green-blind)
#4C90FC
Tritanopia (blue-blind)
#A28CAD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b170ff;
/* rgb */ color: rgb(177, 112, 255);
/* oklch */ color: oklch(67.8% 0.207 302.2);
Tailwind
colors: {
  custom: {
    50: '#cc9bff',
    500: '#b170ff',
    950: '#000000',
  },
}
SCSS
$custom: #b170ff;
$custom-light: #cc9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#b170ff",
  "rgb": {
    "r": 177,
    "g": 112,
    "b": 255
  },
  "hsl": {
    "h": 267.273,
    "s": 100,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67785,
    "c": 0.20667,
    "h": 302.2
  },
  "luminance": 0.28155
}

Semantic roles & 50–950 ramp

primary
#B170FF
secondary
#E7F7D3
accent
#E6007D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #B170FF

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

Preview Lab → · Contrast checker → · Palette generator →

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