#B08EFD#B08EFD

#B08EFD is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.4% C 0.159 H 296.3°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#B08EFD
RGBrgb(176, 142, 253)
HSLhsl(258, 97%, 77%)
HSVhsv(258, 44%, 99%)
CMYKcmyk(30.4%, 43.9%, 0%, 0.8%)
CIE-LABlab(66.27, 35.98, -50.88)
CIE-LCHlch(66.27, 62.31, 305.27°)
OKLaboklab(72.37% 0.0706 -0.1428)
OKLCHoklch(72.37% 0.159 296.3)
XYZxyz(45.3028, 35.6674, 97.4072)
Luminance0.3567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08EFD #DBFD8E
analogous
#8EA4FD #B08EFD #E78EFD
triadic
#B08EFD #FDB08E #8EFDB0
tetradic
#B08EFD #FD8EA4 #DBFD8E #8EFDE7
square
#B08EFD #FD8EA4 #DBFD8E #8EFDE7
split-complementary
#B08EFD #FDE78E #A4FD8E
monochromatic
#5C16FB #8652FC #B08EFD #DACAFE #EAE1FE

Accessibility & contrast

On white

2.58
#B08EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#B08EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B08EFD
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08EFD#FFFFFF#000000##000000
##B08EFD1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA2FF
Deuteranopia (green-blind)
#72A0FA
Tritanopia (blue-blind)
#9FA2B9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b08efd;
/* rgb */ color: rgb(176, 142, 253);
/* oklch */ color: oklch(72.4% 0.159 296.3);
Tailwind
colors: {
  custom: {
    50: '#caaffe',
    500: '#b08efd',
    950: '#000000',
  },
}
SCSS
$custom: #b08efd;
$custom-light: #caaffe;
$custom-dark: #000000;
JSON
{
  "hex": "#b08efd",
  "rgb": {
    "r": 176,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 258.378,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.72368,
    "c": 0.15931,
    "h": 296.3
  },
  "luminance": 0.35668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B08EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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