#B08EF5#B08EF5

#B08EF5 is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.0% C 0.149 H 297.8°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#B08EF5
RGBrgb(176, 142, 245)
HSLhsl(260, 84%, 76%)
HSVhsv(260, 42%, 96%)
CMYKcmyk(28.2%, 42%, 0%, 3.9%)
CIE-LABlab(65.88, 34.02, -47.10)
CIE-LCHlch(65.88, 58.11, 305.84°)
OKLaboklab(71.95% 0.0694 -0.1318)
OKLCHoklch(71.95% 0.149 297.8)
XYZxyz(44.0550, 35.1683, 90.8356)
Luminance0.3517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08EF5 #D3F58E
analogous
#8E9FF5 #B08EF5 #E38EF5
triadic
#B08EF5 #F5B08E #8EF5B0
tetradic
#B08EF5 #F58E9F #D3F58E #8EF5E3
square
#B08EF5 #F58E9F #D3F58E #8EF5E3
split-complementary
#B08EF5 #F5E38E #9FF58E
monochromatic
#611EEB #8956F0 #B08EF5 #D7C6FA #EBE3FD

Accessibility & contrast

On white

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

On black

8.03
#B08EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B08EF5
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08EF5#FFFFFF#000000##000000
##B08EF51.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A0F9
Deuteranopia (green-blind)
#779FF2
Tritanopia (blue-blind)
#A2A0B6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b08ef5;
/* rgb */ color: rgb(176, 142, 245);
/* oklch */ color: oklch(72.0% 0.149 297.8);
Tailwind
colors: {
  custom: {
    50: '#caaff9',
    500: '#b08ef5',
    950: '#000000',
  },
}
SCSS
$custom: #b08ef5;
$custom-light: #caaff9;
$custom-dark: #000000;
JSON
{
  "hex": "#b08ef5",
  "rgb": {
    "r": 176,
    "g": 142,
    "b": 245
  },
  "hsl": {
    "h": 259.806,
    "s": 83.74,
    "l": 75.882
  },
  "oklch": {
    "l": 0.71951,
    "c": 0.14898,
    "h": 297.8
  },
  "luminance": 0.35169
}

Semantic roles & 50–950 ramp

primary
#B08EF5
secondary
#EBF4D7
accent
#E00598
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #B08EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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