#B08EDD#B08EDD

#B08EDD is a light, moderate violet. Relative luminance 0.338; OKLCH L 70.8% C 0.118 H 303.3°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#B08EDD
RGBrgb(176, 142, 221)
HSLhsl(266, 54%, 71%)
HSVhsv(266, 36%, 87%)
CMYKcmyk(20.4%, 35.7%, 0%, 13.3%)
CIE-LABlab(64.80, 28.36, -35.55)
CIE-LCHlch(64.80, 45.48, 308.58°)
OKLaboklab(70.78% 0.0647 -0.0984)
OKLCHoklch(70.78% 0.118 303.3)
XYZxyz(40.6259, 33.7966, 72.7757)
Luminance0.3380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08EDD #BBDD8E
analogous
#8E93DD #B08EDD #D78EDD
triadic
#B08EDD #DDB08E #8EDDB0
tetradic
#B08EDD #DD8E93 #BBDD8E #8EDDD7
square
#B08EDD #DD8E93 #BBDD8E #8EDDD7
split-complementary
#B08EDD #DDD78E #93DD8E
monochromatic
#6F38B9 #8F5FCF #B08EDD #D1BDEB #EFE7F8

Accessibility & contrast

On white

2.71
#B08EDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#B08EDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B08EDD
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08EDD#FFFFFF#000000##000000
##B08EDD1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9CE0
Deuteranopia (green-blind)
#839DDB
Tritanopia (blue-blind)
#A99AAB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b08edd;
/* rgb */ color: rgb(176, 142, 221);
/* oklch */ color: oklch(70.8% 0.118 303.3);
Tailwind
colors: {
  custom: {
    50: '#c9afe8',
    500: '#b08edd',
    950: '#000000',
  },
}
SCSS
$custom: #b08edd;
$custom-light: #c9afe8;
$custom-dark: #000000;
JSON
{
  "hex": "#b08edd",
  "rgb": {
    "r": 176,
    "g": 142,
    "b": 221
  },
  "hsl": {
    "h": 265.823,
    "s": 53.741,
    "l": 71.176
  },
  "oklch": {
    "l": 0.7078,
    "c": 0.11781,
    "h": 303.3
  },
  "luminance": 0.33797
}

Semantic roles & 50–950 ramp

primary
#B08EDD
secondary
#E5EED9
accent
#C1247E
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B08EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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