#B08AEE#B08AEE

#B08AEE is a light, vivid violet. Relative luminance 0.336; OKLCH L 70.9% C 0.146 H 300.2°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#B08AEE
RGBrgb(176, 138, 238)
HSLhsl(263, 75%, 74%)
HSVhsv(263, 42%, 93%)
CMYKcmyk(26.1%, 42%, 0%, 6.7%)
CIE-LABlab(64.63, 34.58, -45.23)
CIE-LCHlch(64.63, 56.93, 307.40°)
OKLaboklab(70.9% 0.0736 -0.1264)
OKLCHoklch(70.9% 0.146 300.2)
XYZxyz(42.4221, 33.5799, 85.1190)
Luminance0.3358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08AEE #C8EE8A
analogous
#8A96EE #B08AEE #E28AEE
triadic
#B08AEE #EEB08A #8AEEB0
tetradic
#B08AEE #EE8A96 #C8EE8A #8AEEE2
square
#B08AEE #EE8A96 #C8EE8A #8AEEE2
split-complementary
#B08AEE #EEE28A #96EE8A
monochromatic
#6820DD #8C55E6 #B08AEE #D4BFF6 #EDE4FB

Accessibility & contrast

On white

2.72
#B08AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#B08AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B08AEE
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08AEE#FFFFFF#000000##000000
##B08AEE1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF2
Deuteranopia (green-blind)
#779CEB
Tritanopia (blue-blind)
#A49BB1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b08aee;
/* rgb */ color: rgb(176, 138, 238);
/* oklch */ color: oklch(70.9% 0.146 300.2);
Tailwind
colors: {
  custom: {
    50: '#c9acf4',
    500: '#b08aee',
    950: '#000000',
  },
}
SCSS
$custom: #b08aee;
$custom-light: #c9acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b08aee",
  "rgb": {
    "r": 176,
    "g": 138,
    "b": 238
  },
  "hsl": {
    "h": 262.8,
    "s": 74.627,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70898,
    "c": 0.14626,
    "h": 300.2
  },
  "luminance": 0.3358
}

Semantic roles & 50–950 ramp

primary
#B08AEE
secondary
#E9F3D8
accent
#D70F8B
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B08AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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