#B08EFA#B08EFA

#B08EFA is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.2% C 0.155 H 296.8°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#B08EFA
RGBrgb(176, 142, 250)
HSLhsl(259, 92%, 77%)
HSVhsv(259, 43%, 98%)
CMYKcmyk(29.6%, 43.2%, 0%, 2%)
CIE-LABlab(66.12, 35.24, -49.47)
CIE-LCHlch(66.12, 60.74, 305.47°)
OKLaboklab(72.21% 0.0702 -0.1387)
OKLCHoklch(72.21% 0.155 296.8)
XYZxyz(44.8286, 35.4777, 94.9100)
Luminance0.3548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08EFA #D8FA8E
analogous
#8EA2FA #B08EFA #E68EFA
triadic
#B08EFA #FAB08E #8EFAB0
tetradic
#B08EFA #FA8EA2 #D8FA8E #8EFAE6
square
#B08EFA #FA8EA2 #D8FA8E #8EFAE6
split-complementary
#B08EFA #FAE68E #A2FA8E
monochromatic
#5E19F5 #8753F7 #B08EFA #D9C9FD #EBE2FE

Accessibility & contrast

On white

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

On black

8.10
#B08EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B08EFA
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08EFA#FFFFFF#000000##000000
##B08EFA1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA1FE
Deuteranopia (green-blind)
#749FF7
Tritanopia (blue-blind)
#A0A1B8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b08efa;
/* rgb */ color: rgb(176, 142, 250);
/* oklch */ color: oklch(72.2% 0.155 296.8);
Tailwind
colors: {
  custom: {
    50: '#caaffc',
    500: '#b08efa',
    950: '#000000',
  },
}
SCSS
$custom: #b08efa;
$custom-light: #caaffc;
$custom-dark: #000000;
JSON
{
  "hex": "#b08efa",
  "rgb": {
    "r": 176,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 258.889,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.7221,
    "c": 0.15544,
    "h": 296.8
  },
  "luminance": 0.35478
}

Semantic roles & 50–950 ramp

primary
#B08EFA
secondary
#ECF6D5
accent
#E6009D
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #B08EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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