#B08BEF#B08BEF

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

Color values

HEX#B08BEF
RGBrgb(176, 139, 239)
HSLhsl(262, 76%, 74%)
HSVhsv(262, 42%, 94%)
CMYKcmyk(26.4%, 41.8%, 0%, 6.3%)
CIE-LABlab(64.90, 34.26, -45.34)
CIE-LCHlch(64.90, 56.83, 307.07°)
OKLaboklab(71.12% 0.0724 -0.1267)
OKLCHoklch(71.12% 0.146 299.8)
XYZxyz(42.7135, 33.9271, 85.9429)
Luminance0.3393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08BEF #CAEF8B
analogous
#8B98EF #B08BEF #E28BEF
triadic
#B08BEF #EFB08B #8BEFB0
tetradic
#B08BEF #EF8B98 #CAEF8B #8BEFE2
square
#B08BEF #EF8B98 #CAEF8B #8BEFE2
split-complementary
#B08BEF #EFE28B #98EF8B
monochromatic
#671FE0 #8B55E8 #B08BEF #D5C1F6 #EDE4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B08BEF#FFFFFF#000000##000000
##B08BEF1.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)
#709DF3
Deuteranopia (green-blind)
#779DEC
Tritanopia (blue-blind)
#A49CB2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b08bef;
/* rgb */ color: rgb(176, 139, 239);
/* oklch */ color: oklch(71.1% 0.146 299.8);
Tailwind
colors: {
  custom: {
    50: '#c9adf4',
    500: '#b08bef',
    950: '#000000',
  },
}
SCSS
$custom: #b08bef;
$custom-light: #c9adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b08bef",
  "rgb": {
    "r": 176,
    "g": 139,
    "b": 239
  },
  "hsl": {
    "h": 262.2,
    "s": 75.758,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71123,
    "c": 0.14596,
    "h": 299.8
  },
  "luminance": 0.33927
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B08BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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