#B08DFE#B08DFE

#B08DFE is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.2% C 0.162 H 296.4°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#B08DFE
RGBrgb(176, 141, 254)
HSLhsl(259, 98%, 77%)
HSVhsv(259, 44%, 100%)
CMYKcmyk(30.7%, 44.5%, 0%, 0.4%)
CIE-LABlab(66.09, 36.78, -51.70)
CIE-LCHlch(66.09, 63.45, 305.43°)
OKLaboklab(72.25% 0.0721 -0.1452)
OKLCHoklch(72.25% 0.162 296.4)
XYZxyz(45.3144, 35.4350, 98.1990)
Luminance0.3544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08DFE #DBFE8D
analogous
#8DA3FE #B08DFE #E88DFE
triadic
#B08DFE #FEB08D #8DFEB0
tetradic
#B08DFE #FE8DA3 #DBFE8D #8DFEE8
square
#B08DFE #FE8DA3 #DBFE8D #8DFEE8
split-complementary
#B08DFE #FEE88D #A3FE8D
monochromatic
#5C14FD #8650FD #B08DFE #DACAFF #EAE1FF

Accessibility & contrast

On white

2.60
#B08DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#B08DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B08DFE
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08DFE#FFFFFF#000000##000000
##B08DFE1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA1FF
Deuteranopia (green-blind)
#709FFB
Tritanopia (blue-blind)
#9FA2B9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b08dfe;
/* rgb */ color: rgb(176, 141, 254);
/* oklch */ color: oklch(72.2% 0.162 296.4);
Tailwind
colors: {
  custom: {
    50: '#caafff',
    500: '#b08dfe',
    950: '#000000',
  },
}
SCSS
$custom: #b08dfe;
$custom-light: #caafff;
$custom-dark: #000000;
JSON
{
  "hex": "#b08dfe",
  "rgb": {
    "r": 176,
    "g": 141,
    "b": 254
  },
  "hsl": {
    "h": 258.584,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.72249,
    "c": 0.16212,
    "h": 296.4
  },
  "luminance": 0.35436
}

Semantic roles & 50–950 ramp

primary
#B08DFE
secondary
#ECF7D4
accent
#E6009E
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #B08DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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