#B06AFE#B06AFE

#B06AFE is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 66.8% C 0.214 H 302.8°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#B06AFE
RGBrgb(176, 106, 254)
HSLhsl(268, 99%, 71%)
HSVhsv(268, 58%, 100%)
CMYKcmyk(30.7%, 58.3%, 0%, 0.4%)
CIE-LABlab(58.69, 55.68, -63.50)
CIE-LCHlch(58.69, 84.45, 311.25°)
OKLaboklab(66.76% 0.1159 -0.1797)
OKLCHoklch(66.76% 0.214 302.8)
XYZxyz(40.9438, 26.6939, 96.7421)
Luminance0.2669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B06AFE #B8FE6A
analogous
#6A6EFE #B06AFE #FA6AFE
triadic
#B06AFE #FEB06A #6AFEB0
tetradic
#B06AFE #FE6A6E #B8FE6A #6AFEFA
square
#B06AFE #FE6A6E #B8FE6A #6AFEFA
split-complementary
#B06AFE #FEFA6A #6EFE6A
monochromatic
#7002EC #902DFE #B06AFE #D0A7FE #EFE1FF

Accessibility & contrast

On white

3.31
#B06AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#B06AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B06AFE
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B06AFE#FFFFFF#000000##000000
##B06AFE1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#208CFF
Deuteranopia (green-blind)
#448DFB
Tritanopia (blue-blind)
#A188AA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b06afe;
/* rgb */ color: rgb(176, 106, 254);
/* oklch */ color: oklch(66.8% 0.214 302.8);
Tailwind
colors: {
  custom: {
    50: '#cc97ff',
    500: '#b06afe',
    950: '#000000',
  },
}
SCSS
$custom: #b06afe;
$custom-light: #cc97ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b06afe",
  "rgb": {
    "r": 176,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 268.378,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66762,
    "c": 0.21383,
    "h": 302.8
  },
  "luminance": 0.26694
}

Semantic roles & 50–950 ramp

primary
#B06AFE
secondary
#E3F6CE
accent
#E60079
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #B06AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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