#B08CD9#B08CD9

#B08CD9 is a light, moderate violet. Relative luminance 0.330; OKLCH L 70.2% C 0.116 H 305.1°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#B08CD9
RGBrgb(176, 140, 217)
HSLhsl(268, 50%, 70%)
HSVhsv(268, 35%, 85%)
CMYKcmyk(18.9%, 35.5%, 0%, 14.9%)
CIE-LABlab(64.16, 28.57, -34.33)
CIE-LCHlch(64.16, 44.67, 309.77°)
OKLaboklab(70.24% 0.0667 -0.0949)
OKLCHoklch(70.24% 0.116 305.1)
XYZxyz(39.8044, 32.9962, 69.9041)
Luminance0.3300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08CD9 #B5D98C
analogous
#8C8ED9 #B08CD9 #D78CD9
triadic
#B08CD9 #D9B08C #8CD9B0
tetradic
#B08CD9 #D98C8E #B5D98C #8CD9D7
square
#B08CD9 #D98C8E #B5D98C #8CD9D7
split-complementary
#B08CD9 #D9D78C #8ED98C
monochromatic
#713AB0 #905ECA #B08CD9 #D0BAE8 #EFE8F7

Accessibility & contrast

On white

2.76
#B08CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#B08CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B08CD9
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08CD9#FFFFFF#000000##000000
##B08CD91.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9ADC
Deuteranopia (green-blind)
#839CD7
Tritanopia (blue-blind)
#AA98A9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b08cd9;
/* rgb */ color: rgb(176, 140, 217);
/* oklch */ color: oklch(70.2% 0.116 305.1);
Tailwind
colors: {
  custom: {
    50: '#c8aee5',
    500: '#b08cd9',
    950: '#000000',
  },
}
SCSS
$custom: #b08cd9;
$custom-light: #c8aee5;
$custom-dark: #000000;
JSON
{
  "hex": "#b08cd9",
  "rgb": {
    "r": 176,
    "g": 140,
    "b": 217
  },
  "hsl": {
    "h": 268.052,
    "s": 50.327,
    "l": 70
  },
  "oklch": {
    "l": 0.70235,
    "c": 0.11599,
    "h": 305.1
  },
  "luminance": 0.32996
}

Semantic roles & 50–950 ramp

primary
#B08CD9
secondary
#E1EBD6
accent
#BE2878
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131015
muted
#827F84

Preview Lab

Preview with #B08CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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