#B168EA#B168EA

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

Color values

HEX#B168EA
RGBrgb(177, 104, 234)
HSLhsl(274, 76%, 66%)
HSVhsv(274, 56%, 92%)
CMYKcmyk(24.4%, 55.6%, 0%, 8.2%)
CIE-LABlab(57.26, 52.35, -54.68)
CIE-LCHlch(57.26, 75.70, 313.75°)
OKLaboklab(65.37% 0.1194 -0.1538)
OKLCHoklch(65.37% 0.195 307.8)
XYZxyz(37.9301, 25.1887, 80.6897)
Luminance0.2519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B168EA #A1EA68
analogous
#7068EA #B168EA #EA68E2
triadic
#B168EA #EAB168 #68EAB1
tetradic
#B168EA #EA7068 #A1EA68 #68E2EA
square
#B168EA #EA7068 #A1EA68 #68E2EA
split-complementary
#B168EA #E2EA68 #68EA70
monochromatic
#761ABD #9532E3 #B168EA #CD9EF1 #E9D3F9

Accessibility & contrast

On white

3.48
#B168EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#B168EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B168EA
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B168EA#FFFFFF#000000##000000
##B168EA1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B87EE
Deuteranopia (green-blind)
#568AE7
Tritanopia (blue-blind)
#A9809F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b168ea;
/* rgb */ color: rgb(177, 104, 234);
/* oklch */ color: oklch(65.4% 0.195 307.8);
Tailwind
colors: {
  custom: {
    50: '#cb96f1',
    500: '#b168ea',
    950: '#000000',
  },
}
SCSS
$custom: #b168ea;
$custom-light: #cb96f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b168ea",
  "rgb": {
    "r": 177,
    "g": 104,
    "b": 234
  },
  "hsl": {
    "h": 273.692,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65368,
    "c": 0.19469,
    "h": 307.8
  },
  "luminance": 0.25188
}

Semantic roles & 50–950 ramp

primary
#B168EA
secondary
#D4ECC2
accent
#D80E66
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B168EA

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

Preview Lab → · Contrast checker → · Palette generator →

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