#B08BF6#B08BF6

#B08BF6 is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.5% C 0.155 H 298.3°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#B08BF6
RGBrgb(176, 139, 246)
HSLhsl(261, 86%, 75%)
HSVhsv(261, 43%, 96%)
CMYKcmyk(28.5%, 43.5%, 0%, 3.5%)
CIE-LABlab(65.24, 35.94, -48.66)
CIE-LCHlch(65.24, 60.50, 306.45°)
OKLaboklab(71.48% 0.0736 -0.1364)
OKLCHoklch(71.48% 0.155 298.3)
XYZxyz(43.7677, 34.3488, 91.4950)
Luminance0.3435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08BF6 #D1F68B
analogous
#8B9BF6 #B08BF6 #E68BF6
triadic
#B08BF6 #F6B08B #8BF6B0
tetradic
#B08BF6 #F68B9B #D1F68B #8BF6E6
square
#B08BF6 #F68B9B #D1F68B #8BF6E6
split-complementary
#B08BF6 #F6E68B #9BF68B
monochromatic
#6319ED #8952F2 #B08BF6 #D7C4FA #ECE3FD

Accessibility & contrast

On white

2.67
#B08BF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#B08BF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B08BF6
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08BF6#FFFFFF#000000##000000
##B08BF61.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9EFA
Deuteranopia (green-blind)
#739DF3
Tritanopia (blue-blind)
#A29EB5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b08bf6;
/* rgb */ color: rgb(176, 139, 246);
/* oklch */ color: oklch(71.5% 0.155 298.3);
Tailwind
colors: {
  custom: {
    50: '#caadf9',
    500: '#b08bf6',
    950: '#000000',
  },
}
SCSS
$custom: #b08bf6;
$custom-light: #caadf9;
$custom-dark: #000000;
JSON
{
  "hex": "#b08bf6",
  "rgb": {
    "r": 176,
    "g": 139,
    "b": 246
  },
  "hsl": {
    "h": 260.748,
    "s": 85.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71483,
    "c": 0.15493,
    "h": 298.3
  },
  "luminance": 0.34349
}

Semantic roles & 50–950 ramp

primary
#B08BF6
secondary
#EAF5D6
accent
#E20395
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #B08BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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