#B168EF#B168EF

#B168EF is a light, highly saturated violet. Relative luminance 0.255; OKLCH L 65.7% C 0.200 H 306.6°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#B168EF
RGBrgb(177, 104, 239)
HSLhsl(272, 81%, 67%)
HSVhsv(272, 56%, 94%)
CMYKcmyk(25.9%, 56.5%, 0%, 6.3%)
CIE-LABlab(57.54, 53.47, -57.02)
CIE-LCHlch(57.54, 78.17, 313.16°)
OKLaboklab(65.66% 0.1195 -0.1606)
OKLCHoklch(65.66% 0.2 306.6)
XYZxyz(38.6585, 25.4801, 84.5262)
Luminance0.2548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B168EF #A6EF68
analogous
#6D68EF #B168EF #EF68EA
triadic
#B168EF #EFB168 #68EFB1
tetradic
#B168EF #EF6D68 #A6EF68 #68EAEF
square
#B168EF #EF6D68 #A6EF68 #68EAEF
split-complementary
#B168EF #EAEF68 #68EF6D
monochromatic
#7615C7 #9431E9 #B168EF #CE9FF5 #EAD7FB

Accessibility & contrast

On white

3.44
#B168EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#B168EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B168EF
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B168EF#FFFFFF#000000##000000
##B168EF1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3588F3
Deuteranopia (green-blind)
#528BEC
Tritanopia (blue-blind)
#A782A2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b168ef;
/* rgb */ color: rgb(177, 104, 239);
/* oklch */ color: oklch(65.7% 0.200 306.6);
Tailwind
colors: {
  custom: {
    50: '#cc96f5',
    500: '#b168ef',
    950: '#000000',
  },
}
SCSS
$custom: #b168ef;
$custom-light: #cc96f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b168ef",
  "rgb": {
    "r": 177,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 272.444,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65665,
    "c": 0.20023,
    "h": 306.6
  },
  "luminance": 0.2548
}

Semantic roles & 50–950 ramp

primary
#B168EF
secondary
#D8EFC4
accent
#DD086A
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #B168EF

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

Preview Lab → · Contrast checker → · Palette generator →

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