#B08EFB#B08EFB

#B08EFB is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.3% C 0.157 H 296.7°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#B08EFB
RGBrgb(176, 142, 251)
HSLhsl(259, 93%, 77%)
HSVhsv(259, 43%, 98%)
CMYKcmyk(29.9%, 43.4%, 0%, 1.6%)
CIE-LABlab(66.17, 35.49, -49.94)
CIE-LCHlch(66.17, 61.26, 305.40°)
OKLaboklab(72.26% 0.0703 -0.1401)
OKLCHoklch(72.26% 0.157 296.7)
XYZxyz(44.9859, 35.5406, 95.7380)
Luminance0.3554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08EFB #D9FB8E
analogous
#8EA3FB #B08EFB #E78EFB
triadic
#B08EFB #FBB08E #8EFBB0
tetradic
#B08EFB #FB8EA3 #D9FB8E #8EFBE7
square
#B08EFB #FB8EA3 #D9FB8E #8EFBE7
split-complementary
#B08EFB #FBE78E #A3FB8E
monochromatic
#5D18F7 #8753F9 #B08EFB #D9C9FD #EAE1FE

Accessibility & contrast

On white

2.59
#B08EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#B08EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B08EFB
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08EFB#FFFFFF#000000##000000
##B08EFB1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FF
Deuteranopia (green-blind)
#73A0F8
Tritanopia (blue-blind)
#A0A2B9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b08efb;
/* rgb */ color: rgb(176, 142, 251);
/* oklch */ color: oklch(72.3% 0.157 296.7);
Tailwind
colors: {
  custom: {
    50: '#caaffd',
    500: '#b08efb',
    950: '#000000',
  },
}
SCSS
$custom: #b08efb;
$custom-light: #caaffd;
$custom-dark: #000000;
JSON
{
  "hex": "#b08efb",
  "rgb": {
    "r": 176,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 258.716,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.72263,
    "c": 0.15673,
    "h": 296.7
  },
  "luminance": 0.35541
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B08EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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