#B08EFE#B08EFE

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

Color values

HEX#B08EFE
RGBrgb(176, 142, 254)
HSLhsl(258, 98%, 78%)
HSVhsv(258, 44%, 100%)
CMYKcmyk(30.7%, 44.1%, 0%, 0.4%)
CIE-LABlab(66.31, 36.23, -51.34)
CIE-LCHlch(66.31, 62.84, 305.21°)
OKLaboklab(72.42% 0.0708 -0.1442)
OKLCHoklch(72.42% 0.161 296.1)
XYZxyz(45.4625, 35.7313, 98.2483)
Luminance0.3573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08EFE #DCFE8E
analogous
#8EA4FE #B08EFE #E88EFE
triadic
#B08EFE #FEB08E #8EFEB0
tetradic
#B08EFE #FE8EA4 #DCFE8E #8EFEE8
square
#B08EFE #FE8EA4 #DCFE8E #8EFEE8
split-complementary
#B08EFE #FEE88E #A4FE8E
monochromatic
#5B15FD #8651FD #B08EFE #DACBFF #EAE1FF

Accessibility & contrast

On white

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

On black

8.15
#B08EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B08EFE
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08EFE#FFFFFF#000000##000000
##B08EFE1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA2FF
Deuteranopia (green-blind)
#71A0FB
Tritanopia (blue-blind)
#9FA3BA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b08efe;
/* rgb */ color: rgb(176, 142, 254);
/* oklch */ color: oklch(72.4% 0.161 296.1);
Tailwind
colors: {
  custom: {
    50: '#caafff',
    500: '#b08efe',
    950: '#000000',
  },
}
SCSS
$custom: #b08efe;
$custom-light: #caafff;
$custom-dark: #000000;
JSON
{
  "hex": "#b08efe",
  "rgb": {
    "r": 176,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 258.214,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.72421,
    "c": 0.16059,
    "h": 296.1
  },
  "luminance": 0.35732
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B08EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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