#B08CEA#B08CEA

#B08CEA is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.0% C 0.138 H 300.6°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#B08CEA
RGBrgb(176, 140, 234)
HSLhsl(263, 69%, 73%)
HSVhsv(263, 40%, 92%)
CMYKcmyk(24.8%, 40.2%, 0%, 8.2%)
CIE-LABlab(64.90, 32.51, -42.59)
CIE-LCHlch(64.90, 53.58, 307.35°)
OKLaboklab(71.05% 0.0702 -0.1187)
OKLCHoklch(71.05% 0.138 300.6)
XYZxyz(42.1305, 33.9266, 82.1549)
Luminance0.3393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08CEA #C6EA8C
analogous
#8C97EA #B08CEA #DF8CEA
triadic
#B08CEA #EAB08C #8CEAB0
tetradic
#B08CEA #EA8C97 #C6EA8C #8CEADF
square
#B08CEA #EA8C97 #C6EA8C #8CEADF
split-complementary
#B08CEA #EADF8C #97EA8C
monochromatic
#6927D5 #8C58E1 #B08CEA #D4C0F3 #EDE5FA

Accessibility & contrast

On white

2.70
#B08CEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#B08CEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B08CEA
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08CEA#FFFFFF#000000##000000
##B08CEA1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#749DEE
Deuteranopia (green-blind)
#7B9DE8
Tritanopia (blue-blind)
#A59CB0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b08cea;
/* rgb */ color: rgb(176, 140, 234);
/* oklch */ color: oklch(71.0% 0.138 300.6);
Tailwind
colors: {
  custom: {
    50: '#c9aef1',
    500: '#b08cea',
    950: '#000000',
  },
}
SCSS
$custom: #b08cea;
$custom-light: #c9aef1;
$custom-dark: #000000;
JSON
{
  "hex": "#b08cea",
  "rgb": {
    "r": 176,
    "g": 140,
    "b": 234
  },
  "hsl": {
    "h": 262.979,
    "s": 69.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71047,
    "c": 0.13791,
    "h": 300.6
  },
  "luminance": 0.33927
}

Semantic roles & 50–950 ramp

primary
#B08CEA
secondary
#E8F2D9
accent
#D11489
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B08CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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