#B081F2#B081F2

#B081F2 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.6% C 0.165 H 301.4°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#B081F2
RGBrgb(176, 129, 242)
HSLhsl(265, 81%, 73%)
HSVhsv(265, 47%, 95%)
CMYKcmyk(27.3%, 46.7%, 0%, 5.1%)
CIE-LABlab(62.79, 40.53, -50.33)
CIE-LCHlch(62.79, 64.62, 308.85°)
OKLaboklab(69.58% 0.0863 -0.1412)
OKLCHoklch(69.58% 0.165 301.4)
XYZxyz(41.7781, 31.3413, 87.8357)
Luminance0.3134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B081F2 #C3F281
analogous
#818AF2 #B081F2 #E981F2
triadic
#B081F2 #F2B081 #81F2B0
tetradic
#B081F2 #F2818A #C3F281 #81F2E9
square
#B081F2 #F2818A #C3F281 #81F2E9
split-complementary
#B081F2 #F2E981 #8AF281
monochromatic
#6B17E1 #8D4AEC #B081F2 #D3B8F8 #EEE3FC

Accessibility & contrast

On white

2.89
#B081F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#B081F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B081F2
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B081F2#FFFFFF#000000##000000
##B081F21.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F97F6
Deuteranopia (green-blind)
#6B97EF
Tritanopia (blue-blind)
#A495AE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b081f2;
/* rgb */ color: rgb(176, 129, 242);
/* oklch */ color: oklch(69.6% 0.165 301.4);
Tailwind
colors: {
  custom: {
    50: '#caa6f7',
    500: '#b081f2',
    950: '#000000',
  },
}
SCSS
$custom: #b081f2;
$custom-light: #caa6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b081f2",
  "rgb": {
    "r": 176,
    "g": 129,
    "b": 242
  },
  "hsl": {
    "h": 264.956,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69585,
    "c": 0.16548,
    "h": 301.4
  },
  "luminance": 0.31341
}

Semantic roles & 50–950 ramp

primary
#B081F2
secondary
#E8F4D7
accent
#DE0885
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #B081F2

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

Preview Lab → · Contrast checker → · Palette generator →

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