#B09AFB#B09AFB

#B09AFB is a light, vivid violet. Relative luminance 0.393; OKLCH L 74.4% C 0.138 H 293.2°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#B09AFB
RGBrgb(176, 154, 251)
HSLhsl(254, 92%, 79%)
HSVhsv(254, 39%, 98%)
CMYKcmyk(29.9%, 38.6%, 0%, 1.6%)
CIE-LABlab(68.97, 28.76, -45.52)
CIE-LCHlch(68.97, 53.84, 302.29°)
OKLaboklab(74.39% 0.0544 -0.1272)
OKLCHoklch(74.39% 0.138 293.2)
XYZxyz(46.8683, 39.3056, 96.3655)
Luminance0.3931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B09AFB #E5FB9A
analogous
#9AB5FB #B09AFB #E09AFB
triadic
#B09AFB #FBB09A #9AFBB0
tetradic
#B09AFB #FB9AB5 #E5FB9A #9AFBE0
square
#B09AFB #FB9AB5 #E5FB9A #9AFBE0
split-complementary
#B09AFB #FBE09A #B5FB9A
monochromatic
#5424F6 #825FF9 #B09AFB #DED5FD #E8E2FE

Accessibility & contrast

On white

2.37
#B09AFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#B09AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B09AFB
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B09AFB#FFFFFF#000000##000000
##B09AFB1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EAAFF
Deuteranopia (green-blind)
#80A7F9
Tritanopia (blue-blind)
#9FABBF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b09afb;
/* rgb */ color: rgb(176, 154, 251);
/* oklch */ color: oklch(74.4% 0.138 293.2);
Tailwind
colors: {
  custom: {
    50: '#cab8fd',
    500: '#b09afb',
    950: '#000000',
  },
}
SCSS
$custom: #b09afb;
$custom-light: #cab8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b09afb",
  "rgb": {
    "r": 176,
    "g": 154,
    "b": 251
  },
  "hsl": {
    "h": 253.608,
    "s": 92.381,
    "l": 79.412
  },
  "oklch": {
    "l": 0.74386,
    "c": 0.13839,
    "h": 293.2
  },
  "luminance": 0.39306
}

Semantic roles & 50–950 ramp

primary
#B09AFB
secondary
#EFF6D5
accent
#E600B1
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #B09AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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