#B168FB#B168FB

#B168FB is a light, highly saturated violet. Relative luminance 0.262; OKLCH L 66.4% C 0.214 H 304.1°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#B168FB
RGBrgb(177, 104, 251)
HSLhsl(270, 95%, 70%)
HSVhsv(270, 59%, 98%)
CMYKcmyk(29.5%, 58.6%, 0%, 1.6%)
CIE-LABlab(58.24, 56.23, -62.56)
CIE-LCHlch(58.24, 84.11, 311.95°)
OKLaboklab(66.4% 0.1196 -0.1769)
OKLCHoklch(66.4% 0.214 304.1)
XYZxyz(40.4905, 26.2129, 94.1746)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B168FB #B2FB68
analogous
#6869FB #B168FB #FB68FB
triadic
#B168FB #FBB168 #68FBB1
tetradic
#B168FB #FB6869 #B2FB68 #68FBFB
square
#B168FB #FB6869 #B2FB68 #68FBFB
split-complementary
#B168FB #FBFB68 #69FB68
monochromatic
#7406E3 #922CF9 #B168FB #D0A4FD #EFDFFE

Accessibility & contrast

On white

3.36
#B168FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#B168FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B168FB
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B168FB#FFFFFF#000000##000000
##B168FB1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#218AFF
Deuteranopia (green-blind)
#468CF8
Tritanopia (blue-blind)
#A486A8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b168fb;
/* rgb */ color: rgb(177, 104, 251);
/* oklch */ color: oklch(66.4% 0.214 304.1);
Tailwind
colors: {
  custom: {
    50: '#cc96fd',
    500: '#b168fb',
    950: '#000000',
  },
}
SCSS
$custom: #b168fb;
$custom-light: #cc96fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b168fb",
  "rgb": {
    "r": 177,
    "g": 104,
    "b": 251
  },
  "hsl": {
    "h": 269.796,
    "s": 94.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.664,
    "c": 0.21351,
    "h": 304.1
  },
  "luminance": 0.26213
}

Semantic roles & 50–950 ramp

primary
#B168FB
secondary
#E0F4CA
accent
#E60074
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B168FB

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

Preview Lab → · Contrast checker → · Palette generator →

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