#B08AFF#B08AFF

#B08AFF is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.8% C 0.168 H 296.9°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#B08AFF
RGBrgb(176, 138, 255)
HSLhsl(259, 100%, 77%)
HSVhsv(259, 46%, 100%)
CMYKcmyk(31%, 45.9%, 0%, 0%)
CIE-LABlab(65.46, 38.70, -53.25)
CIE-LCHlch(65.46, 65.83, 306.01°)
OKLaboklab(71.79% 0.0761 -0.1497)
OKLCHoklch(71.79% 0.168 296.9)
XYZxyz(45.0386, 34.6265, 98.8991)
Luminance0.3463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08AFF #D9FF8A
analogous
#8A9FFF #B08AFF #EA8AFF
triadic
#B08AFF #FFB08A #8AFFB0
tetradic
#B08AFF #FF8A9F #D9FF8A #8AFFEA
square
#B08AFF #FF8A9F #D9FF8A #8AFFEA
split-complementary
#B08AFF #FFEA8A #9FFF8A
monochromatic
#5D10FF #874DFF #B08AFF #D9C7FF #EAE0FF

Accessibility & contrast

On white

2.65
#B08AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#B08AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B08AFF
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08AFF#FFFFFF#000000##000000
##B08AFF1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#649FFF
Deuteranopia (green-blind)
#6C9EFC
Tritanopia (blue-blind)
#9FA0B8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b08aff;
/* rgb */ color: rgb(176, 138, 255);
/* oklch */ color: oklch(71.8% 0.168 296.9);
Tailwind
colors: {
  custom: {
    50: '#caadff',
    500: '#b08aff',
    950: '#000000',
  },
}
SCSS
$custom: #b08aff;
$custom-light: #caadff;
$custom-dark: #000000;
JSON
{
  "hex": "#b08aff",
  "rgb": {
    "r": 176,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 259.487,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.71793,
    "c": 0.16794,
    "h": 296.9
  },
  "luminance": 0.34627
}

Semantic roles & 50–950 ramp

primary
#B08AFF
secondary
#ECF7D4
accent
#E6009B
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B08AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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