#B168CD#B168CD

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

Color values

HEX#B168CD
RGBrgb(177, 104, 205)
HSLhsl(283, 50%, 61%)
HSVhsv(283, 49%, 80%)
CMYKcmyk(13.7%, 49.3%, 0%, 19.6%)
CIE-LABlab(55.74, 46.05, -40.74)
CIE-LCHlch(55.74, 61.49, 318.50°)
OKLaboklab(63.76% 0.1171 -0.1132)
OKLCHoklch(63.76% 0.163 316)
XYZxyz(34.0996, 23.6565, 60.5157)
Luminance0.2366 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B168CD #84CD68
analogous
#7E68CD #B168CD #CD68B7
triadic
#B168CD #CDB168 #68CDB1
tetradic
#B168CD #CD7E68 #84CD68 #68B7CD
square
#B168CD #CD7E68 #84CD68 #68B7CD
split-complementary
#B168CD #B7CD68 #68CD7E
monochromatic
#722E8C #983EBA #B168CD #C996DC #E0C4EB

Accessibility & contrast

On white

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

On black

5.73
#B168CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B168CD
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B168CD#FFFFFF#000000##000000
##B168CD1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481D0
Deuteranopia (green-blind)
#6988CA
Tritanopia (blue-blind)
#B07791
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b168cd;
/* rgb */ color: rgb(177, 104, 205);
/* oklch */ color: oklch(63.8% 0.163 316.0);
Tailwind
colors: {
  custom: {
    50: '#ca95dc',
    500: '#b168cd',
    950: '#000000',
  },
}
SCSS
$custom: #b168cd;
$custom-light: #ca95dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b168cd",
  "rgb": {
    "r": 177,
    "g": 104,
    "b": 205
  },
  "hsl": {
    "h": 283.366,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63757,
    "c": 0.16286,
    "h": 316
  },
  "luminance": 0.23656
}

Semantic roles & 50–950 ramp

primary
#B168CD
secondary
#C0DCB5
accent
#BE2851
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #B168CD

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

Preview Lab → · Contrast checker → · Palette generator →

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