#B06DF2#B06DF2

#B06DF2 is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.5% C 0.196 H 304.9°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#B06DF2
RGBrgb(176, 109, 242)
HSLhsl(270, 84%, 69%)
HSVhsv(270, 55%, 95%)
CMYKcmyk(27.3%, 55%, 0%, 5.1%)
CIE-LABlab(58.58, 51.33, -57.03)
CIE-LCHlch(58.58, 76.72, 311.99°)
OKLaboklab(66.46% 0.1122 -0.1607)
OKLCHoklch(66.46% 0.196 304.9)
XYZxyz(39.3967, 26.5784, 87.0418)
Luminance0.2658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B06DF2 #AFF26D
analogous
#6E6DF2 #B06DF2 #F26DF1
triadic
#B06DF2 #F2B06D #6DF2B0
tetradic
#B06DF2 #F26E6D #AFF26D #6DF1F2
square
#B06DF2 #F26E6D #AFF26D #6DF1F2
split-complementary
#B06DF2 #F1F26D #6DF26E
monochromatic
#7313D2 #9235ED #B06DF2 #CEA5F7 #EDDDFC

Accessibility & contrast

On white

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

On black

6.32
#B06DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B06DF2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B06DF2#FFFFFF#000000##000000
##B06DF21.003.336.326.32
#FFFFFF3.331.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8BF6
Deuteranopia (green-blind)
#548DEF
Tritanopia (blue-blind)
#A586A5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b06df2;
/* rgb */ color: rgb(176, 109, 242);
/* oklch */ color: oklch(66.5% 0.196 304.9);
Tailwind
colors: {
  custom: {
    50: '#cb99f7',
    500: '#b06df2',
    950: '#000000',
  },
}
SCSS
$custom: #b06df2;
$custom-light: #cb99f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b06df2",
  "rgb": {
    "r": 176,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 270.226,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66459,
    "c": 0.19598,
    "h": 304.9
  },
  "luminance": 0.26578
}

Semantic roles & 50–950 ramp

primary
#B06DF2
secondary
#DDF1CA
accent
#E00572
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B06DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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