#B06AF2#B06AF2

#B06AF2 is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 66.0% C 0.200 H 305.3°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#B06AF2
RGBrgb(176, 106, 242)
HSLhsl(271, 84%, 68%)
HSVhsv(271, 56%, 95%)
CMYKcmyk(27.3%, 56.2%, 0%, 5.1%)
CIE-LABlab(57.99, 52.89, -57.98)
CIE-LCHlch(57.99, 78.48, 312.37°)
OKLaboklab(66.02% 0.1159 -0.1635)
OKLCHoklch(66.02% 0.2 305.3)
XYZxyz(39.0821, 25.9492, 86.9370)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B06AF2 #ACF26A
analogous
#6C6AF2 #B06AF2 #F26AF0
triadic
#B06AF2 #F2B06A #6AF2B0
tetradic
#B06AF2 #F26C6A #ACF26A #6AF0F2
square
#B06AF2 #F26C6A #ACF26A #6AF0F2
split-complementary
#B06AF2 #F0F26A #6AF26C
monochromatic
#7412CF #9232ED #B06AF2 #CEA2F7 #ECDBFC

Accessibility & contrast

On white

3.39
#B06AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#B06AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B06AF2
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B06AF2#FFFFFF#000000##000000
##B06AF21.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3589F6
Deuteranopia (green-blind)
#508CEF
Tritanopia (blue-blind)
#A584A4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b06af2;
/* rgb */ color: rgb(176, 106, 242);
/* oklch */ color: oklch(66.0% 0.200 305.3);
Tailwind
colors: {
  custom: {
    50: '#cb97f7',
    500: '#b06af2',
    950: '#000000',
  },
}
SCSS
$custom: #b06af2;
$custom-light: #cb97f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b06af2",
  "rgb": {
    "r": 176,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 270.882,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66024,
    "c": 0.20039,
    "h": 305.3
  },
  "luminance": 0.25949
}

Semantic roles & 50–950 ramp

primary
#B06AF2
secondary
#DBF1C7
accent
#E00570
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B06AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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