#B08AFA#B08AFA

#B08AFA is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.5% C 0.162 H 297.8°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#B08AFA
RGBrgb(176, 138, 250)
HSLhsl(260, 92%, 76%)
HSVhsv(260, 45%, 98%)
CMYKcmyk(29.6%, 44.8%, 0%, 2%)
CIE-LABlab(65.21, 37.47, -50.91)
CIE-LCHlch(65.21, 63.21, 306.36°)
OKLaboklab(71.52% 0.0755 -0.1429)
OKLCHoklch(71.52% 0.162 297.8)
XYZxyz(44.2442, 34.3088, 94.7152)
Luminance0.3431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08AFA #D4FA8A
analogous
#8A9CFA #B08AFA #E88AFA
triadic
#B08AFA #FAB08A #8AFAB0
tetradic
#B08AFA #FA8A9C #D4FA8A #8AFAE8
square
#B08AFA #FA8A9C #D4FA8A #8AFAE8
split-complementary
#B08AFA #FAE88A #9CFA8A
monochromatic
#6115F5 #884FF7 #B08AFA #D8C5FD #EBE2FE

Accessibility & contrast

On white

2.67
#B08AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#B08AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B08AFA
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08AFA#FFFFFF#000000##000000
##B08AFA1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#689FFE
Deuteranopia (green-blind)
#6F9DF7
Tritanopia (blue-blind)
#A19EB6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b08afa;
/* rgb */ color: rgb(176, 138, 250);
/* oklch */ color: oklch(71.5% 0.162 297.8);
Tailwind
colors: {
  custom: {
    50: '#caadfc',
    500: '#b08afa',
    950: '#000000',
  },
}
SCSS
$custom: #b08afa;
$custom-light: #caadfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b08afa",
  "rgb": {
    "r": 176,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 260.357,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71524,
    "c": 0.16159,
    "h": 297.8
  },
  "luminance": 0.34309
}

Semantic roles & 50–950 ramp

primary
#B08AFA
secondary
#EBF6D5
accent
#E60098
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #B08AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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