#B168ED#B168ED

#B168ED is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.5% C 0.198 H 307.1°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#B168ED
RGBrgb(177, 104, 237)
HSLhsl(273, 79%, 67%)
HSVhsv(273, 56%, 93%)
CMYKcmyk(25.3%, 56.1%, 0%, 7.1%)
CIE-LABlab(57.43, 53.02, -56.09)
CIE-LCHlch(57.43, 77.18, 313.39°)
OKLaboklab(65.55% 0.1195 -0.1579)
OKLCHoklch(65.55% 0.198 307.1)
XYZxyz(38.3647, 25.3626, 82.9787)
Luminance0.2536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B168ED #A4ED68
analogous
#6F68ED #B168ED #ED68E7
triadic
#B168ED #EDB168 #68EDB1
tetradic
#B168ED #ED6F68 #A4ED68 #68E7ED
square
#B168ED #ED6F68 #A4ED68 #68E7ED
split-complementary
#B168ED #E7ED68 #68ED6F
monochromatic
#7617C3 #9531E6 #B168ED #CD9FF4 #E9D5FA

Accessibility & contrast

On white

3.46
#B168ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#B168ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B168ED
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B168ED#FFFFFF#000000##000000
##B168ED1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3887F1
Deuteranopia (green-blind)
#548BEA
Tritanopia (blue-blind)
#A881A1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b168ed;
/* rgb */ color: rgb(177, 104, 237);
/* oklch */ color: oklch(65.5% 0.198 307.1);
Tailwind
colors: {
  custom: {
    50: '#cc96f3',
    500: '#b168ed',
    950: '#000000',
  },
}
SCSS
$custom: #b168ed;
$custom-light: #cc96f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b168ed",
  "rgb": {
    "r": 177,
    "g": 104,
    "b": 237
  },
  "hsl": {
    "h": 272.932,
    "s": 78.698,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65545,
    "c": 0.19803,
    "h": 307.1
  },
  "luminance": 0.25362
}

Semantic roles & 50–950 ramp

primary
#B168ED
secondary
#D6EEC3
accent
#DB0B69
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B168ED

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

Preview Lab → · Contrast checker → · Palette generator →

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