#B06AF0#B06AF0

#B06AF0 is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.9% C 0.198 H 305.8°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#B06AF0
RGBrgb(176, 106, 240)
HSLhsl(271, 82%, 68%)
HSVhsv(271, 56%, 94%)
CMYKcmyk(26.7%, 55.8%, 0%, 5.9%)
CIE-LABlab(57.88, 52.43, -57.05)
CIE-LCHlch(57.88, 77.48, 312.59°)
OKLaboklab(65.9% 0.1158 -0.1608)
OKLCHoklch(65.9% 0.198 305.8)
XYZxyz(38.7834, 25.8297, 85.3637)
Luminance0.2583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B06AF0 #AAF06A
analogous
#6D6AF0 #B06AF0 #F06AED
triadic
#B06AF0 #F0B06A #6AF0B0
tetradic
#B06AF0 #F06D6A #AAF06A #6AEDF0
square
#B06AF0 #F06D6A #AAF06A #6AEDF0
split-complementary
#B06AF0 #EDF06A #6AF06D
monochromatic
#7414CB #9332EA #B06AF0 #CDA2F6 #EBD9FB

Accessibility & contrast

On white

3.41
#B06AF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#B06AF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B06AF0
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B06AF0#FFFFFF#000000##000000
##B06AF01.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3889F4
Deuteranopia (green-blind)
#528BED
Tritanopia (blue-blind)
#A583A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b06af0;
/* rgb */ color: rgb(176, 106, 240);
/* oklch */ color: oklch(65.9% 0.198 305.8);
Tailwind
colors: {
  custom: {
    50: '#cb97f5',
    500: '#b06af0',
    950: '#000000',
  },
}
SCSS
$custom: #b06af0;
$custom-light: #cb97f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b06af0",
  "rgb": {
    "r": 176,
    "g": 106,
    "b": 240
  },
  "hsl": {
    "h": 271.343,
    "s": 81.707,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65904,
    "c": 0.19815,
    "h": 305.8
  },
  "luminance": 0.25829
}

Semantic roles & 50–950 ramp

primary
#B06AF0
secondary
#DAF0C6
accent
#DE076E
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #B06AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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