#B168FD#B168FD

#B168FD is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.5% C 0.216 H 303.7°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#B168FD
RGBrgb(177, 104, 253)
HSLhsl(269, 97%, 70%)
HSVhsv(269, 59%, 99%)
CMYKcmyk(30%, 58.9%, 0%, 0.8%)
CIE-LABlab(58.36, 56.69, -63.47)
CIE-LCHlch(58.36, 85.10, 311.77°)
OKLaboklab(66.53% 0.1195 -0.1796)
OKLCHoklch(66.53% 0.216 303.7)
XYZxyz(40.8074, 26.3397, 95.8437)
Luminance0.2634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B168FD #B4FD68
analogous
#6869FD #B168FD #FC68FD
triadic
#B168FD #FDB168 #68FDB1
tetradic
#B168FD #FD6869 #B4FD68 #68FDFC
square
#B168FD #FD6869 #B4FD68 #68FDFC
split-complementary
#B168FD #FDFC68 #69FD68
monochromatic
#7303E8 #922CFC #B168FD #D0A4FE #EFE1FF

Accessibility & contrast

On white

3.35
#B168FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#B168FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B168FD
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B168FD#FFFFFF#000000##000000
##B168FD1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C8BFF
Deuteranopia (green-blind)
#438CFA
Tritanopia (blue-blind)
#A386A9
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b168fd;
/* rgb */ color: rgb(177, 104, 253);
/* oklch */ color: oklch(66.5% 0.216 303.7);
Tailwind
colors: {
  custom: {
    50: '#cc96ff',
    500: '#b168fd',
    950: '#000000',
  },
}
SCSS
$custom: #b168fd;
$custom-light: #cc96ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b168fd",
  "rgb": {
    "r": 177,
    "g": 104,
    "b": 253
  },
  "hsl": {
    "h": 269.396,
    "s": 97.386,
    "l": 70
  },
  "oklch": {
    "l": 0.66525,
    "c": 0.21572,
    "h": 303.7
  },
  "luminance": 0.2634
}

Semantic roles & 50–950 ramp

primary
#B168FD
secondary
#E1F5CC
accent
#E60075
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B168FD

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

Preview Lab → · Contrast checker → · Palette generator →

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