#B08DF5#B08DF5

#B08DF5 is a light, vivid violet. Relative luminance 0.349; OKLCH L 71.8% C 0.151 H 298.0°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#B08DF5
RGBrgb(176, 141, 245)
HSLhsl(260, 84%, 76%)
HSVhsv(260, 42%, 96%)
CMYKcmyk(28.2%, 42.4%, 0%, 3.9%)
CIE-LABlab(65.65, 34.58, -47.47)
CIE-LCHlch(65.65, 58.73, 306.07°)
OKLaboklab(71.78% 0.0707 -0.1329)
OKLCHoklch(71.78% 0.151 298)
XYZxyz(43.9069, 34.8720, 90.7863)
Luminance0.3487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08DF5 #D2F58D
analogous
#8D9EF5 #B08DF5 #E48DF5
triadic
#B08DF5 #F5B08D #8DF5B0
tetradic
#B08DF5 #F58D9E #D2F58D #8DF5E4
square
#B08DF5 #F58D9E #D2F58D #8DF5E4
split-complementary
#B08DF5 #F5E48D #9EF58D
monochromatic
#621CEB #8955F0 #B08DF5 #D7C5FA #ECE3FD

Accessibility & contrast

On white

2.63
#B08DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#B08DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B08DF5
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08DF5#FFFFFF#000000##000000
##B08DF51.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA0F9
Deuteranopia (green-blind)
#769EF2
Tritanopia (blue-blind)
#A29FB5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b08df5;
/* rgb */ color: rgb(176, 141, 245);
/* oklch */ color: oklch(71.8% 0.151 298.0);
Tailwind
colors: {
  custom: {
    50: '#caaff9',
    500: '#b08df5',
    950: '#000000',
  },
}
SCSS
$custom: #b08df5;
$custom-light: #caaff9;
$custom-dark: #000000;
JSON
{
  "hex": "#b08df5",
  "rgb": {
    "r": 176,
    "g": 141,
    "b": 245
  },
  "hsl": {
    "h": 260.192,
    "s": 83.871,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71777,
    "c": 0.15053,
    "h": 298
  },
  "luminance": 0.34872
}

Semantic roles & 50–950 ramp

primary
#B08DF5
secondary
#EAF4D7
accent
#E00597
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #B08DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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