#B08EDA#B08EDA

#B08EDA is a light, moderate violet. Relative luminance 0.336; OKLCH L 70.6% C 0.114 H 304.2°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#B08EDA
RGBrgb(176, 142, 218)
HSLhsl(267, 51%, 71%)
HSVhsv(267, 35%, 85%)
CMYKcmyk(19.3%, 34.9%, 0%, 14.5%)
CIE-LABlab(64.67, 27.68, -34.09)
CIE-LCHlch(64.67, 43.91, 309.08°)
OKLaboklab(70.64% 0.064 -0.0942)
OKLCHoklch(70.64% 0.114 304.2)
XYZxyz(40.2298, 33.6382, 70.6895)
Luminance0.3364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08EDA #B8DA8E
analogous
#8E92DA #B08EDA #D68EDA
triadic
#B08EDA #DAB08E #8EDAB0
tetradic
#B08EDA #DA8E92 #B8DA8E #8EDAD6
square
#B08EDA #DA8E92 #B8DA8E #8EDAD6
split-complementary
#B08EDA #DAD68E #92DA8E
monochromatic
#703BB3 #9060CB #B08EDA #D0BCE9 #EFE8F7

Accessibility & contrast

On white

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

On black

7.73
#B08EDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B08EDA
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08EDA#FFFFFF#000000##000000
##B08EDA1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9CDD
Deuteranopia (green-blind)
#849DD8
Tritanopia (blue-blind)
#A99AAA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b08eda;
/* rgb */ color: rgb(176, 142, 218);
/* oklch */ color: oklch(70.6% 0.114 304.2);
Tailwind
colors: {
  custom: {
    50: '#c8afe5',
    500: '#b08eda',
    950: '#000000',
  },
}
SCSS
$custom: #b08eda;
$custom-light: #c8afe5;
$custom-dark: #000000;
JSON
{
  "hex": "#b08eda",
  "rgb": {
    "r": 176,
    "g": 142,
    "b": 218
  },
  "hsl": {
    "h": 266.842,
    "s": 50.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70642,
    "c": 0.11392,
    "h": 304.2
  },
  "luminance": 0.33638
}

Semantic roles & 50–950 ramp

primary
#B08EDA
secondary
#E3ECD8
accent
#BE277B
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B08EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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