#B168CE#B168CE

#B168CE is a light, vivid purple. Relative luminance 0.237; OKLCH L 63.8% C 0.164 H 315.6°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B168CE
RGBrgb(177, 104, 206)
HSLhsl(283, 51%, 61%)
HSVhsv(283, 50%, 81%)
CMYKcmyk(14.1%, 49.5%, 0%, 19.2%)
CIE-LABlab(55.79, 46.26, -41.23)
CIE-LCHlch(55.79, 61.97, 318.29°)
OKLaboklab(63.81% 0.1172 -0.1146)
OKLCHoklch(63.81% 0.164 315.6)
XYZxyz(34.2206, 23.7050, 61.1534)
Luminance0.2370 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B168CE #85CE68
analogous
#7E68CE #B168CE #CE68B8
triadic
#B168CE #CEB168 #68CEB1
tetradic
#B168CE #CE7E68 #85CE68 #68B8CE
square
#B168CE #CE7E68 #85CE68 #68B8CE
split-complementary
#B168CE #B8CE68 #68CE7E
monochromatic
#722E8E #983DBC #B168CE #C996DD #E1C4EC

Accessibility & contrast

On white

3.66
#B168CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#B168CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B168CE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B168CE#FFFFFF#000000##000000
##B168CE1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381D1
Deuteranopia (green-blind)
#6988CB
Tritanopia (blue-blind)
#AF7792
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b168ce;
/* rgb */ color: rgb(177, 104, 206);
/* oklch */ color: oklch(63.8% 0.164 315.6);
Tailwind
colors: {
  custom: {
    50: '#ca95dd',
    500: '#b168ce',
    950: '#000000',
  },
}
SCSS
$custom: #b168ce;
$custom-light: #ca95dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b168ce",
  "rgb": {
    "r": 177,
    "g": 104,
    "b": 206
  },
  "hsl": {
    "h": 282.941,
    "s": 51,
    "l": 60.784
  },
  "oklch": {
    "l": 0.63809,
    "c": 0.16393,
    "h": 315.6
  },
  "luminance": 0.23704
}

Semantic roles & 50–950 ramp

primary
#B168CE
secondary
#C1DCB6
accent
#BE2752
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #B168CE

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

Preview Lab → · Contrast checker → · Palette generator →

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