#B06FF2#B06FF2

#B06FF2 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.8% C 0.193 H 304.6°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B06FF2
RGBrgb(176, 111, 242)
HSLhsl(270, 83%, 69%)
HSVhsv(270, 54%, 95%)
CMYKcmyk(27.3%, 54.1%, 0%, 5.1%)
CIE-LABlab(58.98, 50.28, -56.39)
CIE-LCHlch(58.98, 75.55, 311.72°)
OKLaboklab(66.76% 0.1096 -0.1588)
OKLCHoklch(66.76% 0.193 304.6)
XYZxyz(39.6125, 27.0100, 87.1138)
Luminance0.2701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B06FF2 #B1F26F
analogous
#6F70F2 #B06FF2 #F16FF2
triadic
#B06FF2 #F2B06F #6FF2B0
tetradic
#B06FF2 #F26F70 #B1F26F #6FF2F1
square
#B06FF2 #F26F70 #B1F26F #6FF2F1
split-complementary
#B06FF2 #F2F16F #70F26F
monochromatic
#7313D4 #9137ED #B06FF2 #CFA7F7 #EEDFFC

Accessibility & contrast

On white

3.28
#B06FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#B06FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B06FF2
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B06FF2#FFFFFF#000000##000000
##B06FF21.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#408CF6
Deuteranopia (green-blind)
#568EEF
Tritanopia (blue-blind)
#A588A6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b06ff2;
/* rgb */ color: rgb(176, 111, 242);
/* oklch */ color: oklch(66.8% 0.193 304.6);
Tailwind
colors: {
  custom: {
    50: '#cb9af7',
    500: '#b06ff2',
    950: '#000000',
  },
}
SCSS
$custom: #b06ff2;
$custom-light: #cb9af7;
$custom-dark: #000000;
JSON
{
  "hex": "#b06ff2",
  "rgb": {
    "r": 176,
    "g": 111,
    "b": 242
  },
  "hsl": {
    "h": 269.771,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66755,
    "c": 0.19301,
    "h": 304.6
  },
  "luminance": 0.2701
}

Semantic roles & 50–950 ramp

primary
#B06FF2
secondary
#DFF1CB
accent
#E00674
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B06FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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