#B168EB#B168EB

#B168EB is a light, vivid violet. Relative luminance 0.252; OKLCH L 65.4% C 0.196 H 307.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B168EB
RGBrgb(177, 104, 235)
HSLhsl(273, 77%, 66%)
HSVhsv(273, 56%, 92%)
CMYKcmyk(24.7%, 55.7%, 0%, 7.8%)
CIE-LABlab(57.31, 52.57, -55.15)
CIE-LCHlch(57.31, 76.19, 313.63°)
OKLaboklab(65.43% 0.1194 -0.1552)
OKLCHoklch(65.43% 0.196 307.6)
XYZxyz(38.0741, 25.2464, 81.4484)
Luminance0.2525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B168EB #A2EB68
analogous
#7068EB #B168EB #EB68E4
triadic
#B168EB #EBB168 #68EBB1
tetradic
#B168EB #EB7068 #A2EB68 #68E4EB
square
#B168EB #EB7068 #A2EB68 #68E4EB
split-complementary
#B168EB #E4EB68 #68EB70
monochromatic
#7619BF #9532E4 #B168EB #CD9EF2 #E9D4F9

Accessibility & contrast

On white

3.47
#B168EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#B168EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B168EB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B168EB#FFFFFF#000000##000000
##B168EB1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A87EF
Deuteranopia (green-blind)
#558AE8
Tritanopia (blue-blind)
#A880A0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b168eb;
/* rgb */ color: rgb(177, 104, 235);
/* oklch */ color: oklch(65.4% 0.196 307.6);
Tailwind
colors: {
  custom: {
    50: '#cb96f2',
    500: '#b168eb',
    950: '#000000',
  },
}
SCSS
$custom: #b168eb;
$custom-light: #cb96f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b168eb",
  "rgb": {
    "r": 177,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 273.435,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65427,
    "c": 0.19581,
    "h": 307.6
  },
  "luminance": 0.25246
}

Semantic roles & 50–950 ramp

primary
#B168EB
secondary
#D5EDC2
accent
#D90D67
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B168EB

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

Preview Lab → · Contrast checker → · Palette generator →

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