#B08DFB#B08DFB

#B08DFB is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.1% C 0.158 H 296.9°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#B08DFB
RGBrgb(176, 141, 251)
HSLhsl(259, 93%, 77%)
HSVhsv(259, 44%, 98%)
CMYKcmyk(29.9%, 43.8%, 0%, 1.6%)
CIE-LABlab(65.94, 36.05, -50.30)
CIE-LCHlch(65.94, 61.88, 305.63°)
OKLaboklab(72.09% 0.0717 -0.1411)
OKLCHoklch(72.09% 0.158 296.9)
XYZxyz(44.8377, 35.2444, 95.6887)
Luminance0.3524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08DFB #D8FB8D
analogous
#8DA1FB #B08DFB #E78DFB
triadic
#B08DFB #FBB08D #8DFBB0
tetradic
#B08DFB #FB8DA1 #D8FB8D #8DFBE7
square
#B08DFB #FB8DA1 #D8FB8D #8DFBE7
split-complementary
#B08DFB #FBE78D #A1FB8D
monochromatic
#5E17F7 #8752F9 #B08DFB #D9C8FD #EBE1FE

Accessibility & contrast

On white

2.61
#B08DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#B08DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B08DFB
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08DFB#FFFFFF#000000##000000
##B08DFB1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA1FF
Deuteranopia (green-blind)
#729FF8
Tritanopia (blue-blind)
#A0A1B8
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b08dfb;
/* rgb */ color: rgb(176, 141, 251);
/* oklch */ color: oklch(72.1% 0.158 296.9);
Tailwind
colors: {
  custom: {
    50: '#caaffd',
    500: '#b08dfb',
    950: '#000000',
  },
}
SCSS
$custom: #b08dfb;
$custom-light: #caaffd;
$custom-dark: #000000;
JSON
{
  "hex": "#b08dfb",
  "rgb": {
    "r": 176,
    "g": 141,
    "b": 251
  },
  "hsl": {
    "h": 259.091,
    "s": 93.22,
    "l": 76.863
  },
  "oklch": {
    "l": 0.7209,
    "c": 0.15827,
    "h": 296.9
  },
  "luminance": 0.35245
}

Semantic roles & 50–950 ramp

primary
#B08DFB
secondary
#ECF6D5
accent
#E6009C
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #B08DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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