#B08AFE#B08AFE

#B08AFE is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.7% C 0.167 H 297.1°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#B08AFE
RGBrgb(176, 138, 254)
HSLhsl(260, 98%, 77%)
HSVhsv(260, 46%, 100%)
CMYKcmyk(30.7%, 45.7%, 0%, 0.4%)
CIE-LABlab(65.41, 38.46, -52.78)
CIE-LCHlch(65.41, 65.30, 306.08°)
OKLaboklab(71.74% 0.076 -0.1483)
OKLCHoklch(71.74% 0.167 297.1)
XYZxyz(44.8780, 34.5623, 98.0535)
Luminance0.3456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08AFE #D8FE8A
analogous
#8A9EFE #B08AFE #EA8AFE
triadic
#B08AFE #FEB08A #8AFEB0
tetradic
#B08AFE #FE8A9E #D8FE8A #8AFEEA
square
#B08AFE #FE8A9E #D8FE8A #8AFEEA
split-complementary
#B08AFE #FEEA8A #9EFE8A
monochromatic
#5E11FD #874DFD #B08AFE #D9C7FF #EBE1FF

Accessibility & contrast

On white

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

On black

7.91
#B08AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B08AFE
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08AFE#FFFFFF#000000##000000
##B08AFE1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#6D9DFB
Tritanopia (blue-blind)
#9F9FB8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b08afe;
/* rgb */ color: rgb(176, 138, 254);
/* oklch */ color: oklch(71.7% 0.167 297.1);
Tailwind
colors: {
  custom: {
    50: '#caadff',
    500: '#b08afe',
    950: '#000000',
  },
}
SCSS
$custom: #b08afe;
$custom-light: #caadff;
$custom-dark: #000000;
JSON
{
  "hex": "#b08afe",
  "rgb": {
    "r": 176,
    "g": 138,
    "b": 254
  },
  "hsl": {
    "h": 259.655,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.71738,
    "c": 0.16668,
    "h": 297.1
  },
  "luminance": 0.34563
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B08AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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