#B08EF8#B08EF8

#B08EF8 is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.1% C 0.153 H 297.2°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#B08EF8
RGBrgb(176, 142, 248)
HSLhsl(259, 88%, 76%)
HSVhsv(259, 43%, 97%)
CMYKcmyk(29%, 42.7%, 0%, 2.7%)
CIE-LABlab(66.02, 34.75, -48.52)
CIE-LCHlch(66.02, 59.68, 305.61°)
OKLaboklab(72.11% 0.0699 -0.1359)
OKLCHoklch(72.11% 0.153 297.2)
XYZxyz(44.5167, 35.3529, 93.2672)
Luminance0.3535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08EF8 #D6F88E
analogous
#8EA1F8 #B08EF8 #E58EF8
triadic
#B08EF8 #F8B08E #8EF8B0
tetradic
#B08EF8 #F88EA1 #D6F88E #8EF8E5
square
#B08EF8 #F88EA1 #D6F88E #8EF8E5
split-complementary
#B08EF8 #F8E58E #A1F88E
monochromatic
#5F1BF1 #8854F4 #B08EF8 #D8C8FC #EBE2FD

Accessibility & contrast

On white

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

On black

8.07
#B08EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B08EF8
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08EF8#FFFFFF#000000##000000
##B08EF81.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA1FC
Deuteranopia (green-blind)
#759FF5
Tritanopia (blue-blind)
#A1A1B7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b08ef8;
/* rgb */ color: rgb(176, 142, 248);
/* oklch */ color: oklch(72.1% 0.153 297.2);
Tailwind
colors: {
  custom: {
    50: '#caaffb',
    500: '#b08ef8',
    950: '#000000',
  },
}
SCSS
$custom: #b08ef8;
$custom-light: #caaffb;
$custom-dark: #000000;
JSON
{
  "hex": "#b08ef8",
  "rgb": {
    "r": 176,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 259.245,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.72106,
    "c": 0.15285,
    "h": 297.2
  },
  "luminance": 0.35353
}

Semantic roles & 50–950 ramp

primary
#B08EF8
secondary
#EBF5D6
accent
#E5019C
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #B08EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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