#B170FD#B170FD

#B170FD is a light, highly saturated violet. Relative luminance 0.280; OKLCH L 67.7% C 0.204 H 302.6°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#B170FD
RGBrgb(177, 112, 253)
HSLhsl(268, 97%, 72%)
HSVhsv(268, 56%, 99%)
CMYKcmyk(30%, 55.7%, 0%, 0.8%)
CIE-LABlab(59.91, 52.57, -60.98)
CIE-LCHlch(59.91, 80.51, 310.76°)
OKLaboklab(67.66% 0.11 -0.1723)
OKLCHoklch(67.66% 0.204 302.6)
XYZxyz(41.6512, 28.0273, 96.1250)
Luminance0.2803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B170FD #BCFD70
analogous
#7076FD #B170FD #F870FD
triadic
#B170FD #FDB170 #70FDB1
tetradic
#B170FD #FD7076 #BCFD70 #70FDF8
square
#B170FD #FD7076 #BCFD70 #70FDF8
split-complementary
#B170FD #FDF870 #76FD70
monochromatic
#7003EF #9034FC #B170FD #D2ACFE #EFE1FF

Accessibility & contrast

On white

3.18
#B170FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#B170FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B170FD
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B170FD#FFFFFF#000000##000000
##B170FD1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#368FFF
Deuteranopia (green-blind)
#4E90FA
Tritanopia (blue-blind)
#A38CAC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b170fd;
/* rgb */ color: rgb(177, 112, 253);
/* oklch */ color: oklch(67.7% 0.204 302.6);
Tailwind
colors: {
  custom: {
    50: '#cc9bff',
    500: '#b170fd',
    950: '#000000',
  },
}
SCSS
$custom: #b170fd;
$custom-light: #cc9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#b170fd",
  "rgb": {
    "r": 177,
    "g": 112,
    "b": 253
  },
  "hsl": {
    "h": 267.66,
    "s": 97.241,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67663,
    "c": 0.20439,
    "h": 302.6
  },
  "luminance": 0.28027
}

Semantic roles & 50–950 ramp

primary
#B170FD
secondary
#E6F7D2
accent
#E6007C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #B170FD

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

Preview Lab → · Contrast checker → · Palette generator →

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