#B08BFB#B08BFB

#B08BFB is a light, vivid violet. Relative luminance 0.347; OKLCH L 71.7% C 0.161 H 297.4°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#B08BFB
RGBrgb(176, 139, 251)
HSLhsl(260, 93%, 76%)
HSVhsv(260, 45%, 98%)
CMYKcmyk(29.9%, 44.6%, 0%, 1.6%)
CIE-LABlab(65.48, 37.16, -51.02)
CIE-LCHlch(65.48, 63.12, 306.07°)
OKLaboklab(71.75% 0.0743 -0.1432)
OKLCHoklch(71.75% 0.161 297.4)
XYZxyz(44.5455, 34.6599, 95.5913)
Luminance0.3466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08BFB #D6FB8B
analogous
#8B9EFB #B08BFB #E88BFB
triadic
#B08BFB #FBB08B #8BFBB0
tetradic
#B08BFB #FB8B9E #D6FB8B #8BFBE8
square
#B08BFB #FB8B9E #D6FB8B #8BFBE8
split-complementary
#B08BFB #FBE88B #9EFB8B
monochromatic
#5F15F7 #8850F9 #B08BFB #D8C6FD #EBE1FE

Accessibility & contrast

On white

2.65
#B08BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#B08BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B08BFB
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08BFB#FFFFFF#000000##000000
##B08BFB1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFF
Deuteranopia (green-blind)
#709EF8
Tritanopia (blue-blind)
#A09FB7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b08bfb;
/* rgb */ color: rgb(176, 139, 251);
/* oklch */ color: oklch(71.7% 0.161 297.4);
Tailwind
colors: {
  custom: {
    50: '#caadfd',
    500: '#b08bfb',
    950: '#000000',
  },
}
SCSS
$custom: #b08bfb;
$custom-light: #caadfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b08bfb",
  "rgb": {
    "r": 176,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 259.821,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71747,
    "c": 0.16133,
    "h": 297.4
  },
  "luminance": 0.3466
}

Semantic roles & 50–950 ramp

primary
#B08BFB
secondary
#EBF6D5
accent
#E6009A
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #B08BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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