#B06AFB#B06AFB

#B06AFB is a light, highly saturated violet. Relative luminance 0.265; OKLCH L 66.6% C 0.210 H 303.4°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#B06AFB
RGBrgb(176, 106, 251)
HSLhsl(269, 95%, 70%)
HSVhsv(269, 58%, 98%)
CMYKcmyk(29.9%, 57.8%, 0%, 1.6%)
CIE-LABlab(58.51, 54.98, -62.13)
CIE-LCHlch(58.51, 82.96, 311.51°)
OKLaboklab(66.57% 0.116 -0.1757)
OKLCHoklch(66.57% 0.21 303.4)
XYZxyz(40.4672, 26.5033, 94.2318)
Luminance0.2650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B06AFB #B5FB6A
analogous
#6A6CFB #B06AFB #F96AFB
triadic
#B06AFB #FBB06A #6AFBB0
tetradic
#B06AFB #FB6A6C #B5FB6A #6AFBF9
square
#B06AFB #FB6A6C #B5FB6A #6AFBF9
split-complementary
#B06AFB #FBF96A #6CFB6A
monochromatic
#7106E4 #902EF9 #B06AFB #D0A6FD #EFE1FE

Accessibility & contrast

On white

3.33
#B06AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#B06AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B06AFB
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B06AFB#FFFFFF#000000##000000
##B06AFB1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#278BFF
Deuteranopia (green-blind)
#478CF8
Tritanopia (blue-blind)
#A287A9
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b06afb;
/* rgb */ color: rgb(176, 106, 251);
/* oklch */ color: oklch(66.6% 0.210 303.4);
Tailwind
colors: {
  custom: {
    50: '#cc97fd',
    500: '#b06afb',
    950: '#000000',
  },
}
SCSS
$custom: #b06afb;
$custom-light: #cc97fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b06afb",
  "rgb": {
    "r": 176,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 268.966,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.66575,
    "c": 0.21048,
    "h": 303.4
  },
  "luminance": 0.26503
}

Semantic roles & 50–950 ramp

primary
#B06AFB
secondary
#E1F5CC
accent
#E60077
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #B06AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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