#B168F8#B168F8

#B168F8 is a light, highly saturated violet. Relative luminance 0.260; OKLCH L 66.2% C 0.210 H 304.7°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#B168F8
RGBrgb(177, 104, 248)
HSLhsl(270, 91%, 69%)
HSVhsv(270, 58%, 97%)
CMYKcmyk(28.6%, 58.1%, 0%, 2.7%)
CIE-LABlab(58.06, 55.53, -61.18)
CIE-LCHlch(58.06, 82.63, 312.23°)
OKLaboklab(66.21% 0.1196 -0.1729)
OKLCHoklch(66.21% 0.21 304.7)
XYZxyz(40.0213, 26.0252, 91.7037)
Luminance0.2602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B168F8 #AFF868
analogous
#6968F8 #B168F8 #F868F7
triadic
#B168F8 #F8B168 #68F8B1
tetradic
#B168F8 #F86968 #AFF868 #68F7F8
square
#B168F8 #F86968 #AFF868 #68F7F8
split-complementary
#B168F8 #F7F868 #68F869
monochromatic
#740ADB #932EF5 #B168F8 #CFA2FB #EDDDFD

Accessibility & contrast

On white

3.38
#B168F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#B168F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B168F8
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B168F8#FFFFFF#000000##000000
##B168F81.003.386.206.20
#FFFFFF3.381.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#278AFD
Deuteranopia (green-blind)
#498CF5
Tritanopia (blue-blind)
#A485A6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b168f8;
/* rgb */ color: rgb(177, 104, 248);
/* oklch */ color: oklch(66.2% 0.210 304.7);
Tailwind
colors: {
  custom: {
    50: '#cc96fb',
    500: '#b168f8',
    950: '#000000',
  },
}
SCSS
$custom: #b168f8;
$custom-light: #cc96fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b168f8",
  "rgb": {
    "r": 177,
    "g": 104,
    "b": 248
  },
  "hsl": {
    "h": 270.417,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66213,
    "c": 0.2102,
    "h": 304.7
  },
  "luminance": 0.26025
}

Semantic roles & 50–950 ramp

primary
#B168F8
secondary
#DEF3C9
accent
#E60071
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B168F8

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

Preview Lab → · Contrast checker → · Palette generator →

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