#B072E9#B072E9

#B072E9 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.7% C 0.178 H 306.2°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#B072E9
RGBrgb(176, 114, 233)
HSLhsl(271, 73%, 68%)
HSVhsv(271, 51%, 91%)
CMYKcmyk(24.5%, 51.1%, 0%, 8.6%)
CIE-LABlab(59.11, 46.60, -51.18)
CIE-LCHlch(59.11, 69.22, 312.32°)
OKLaboklab(66.69% 0.1052 -0.1436)
OKLCHoklch(66.69% 0.178 306.2)
XYZxyz(38.6267, 27.1482, 80.2802)
Luminance0.2715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B072E9 #ABE972
analogous
#7572E9 #B072E9 #E972E6
triadic
#B072E9 #E9B072 #72E9B0
tetradic
#B072E9 #E97572 #ABE972 #72E6E9
square
#B072E9 #E97572 #ABE972 #72E6E9
split-complementary
#B072E9 #E6E972 #72E975
monochromatic
#741EC2 #923DE1 #B072E9 #CEA7F1 #EBDCFA

Accessibility & contrast

On white

3.27
#B072E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#B072E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B072E9
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B072E9#FFFFFF#000000##000000
##B072E91.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8CED
Deuteranopia (green-blind)
#618FE6
Tritanopia (blue-blind)
#A787A3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b072e9;
/* rgb */ color: rgb(176, 114, 233);
/* oklch */ color: oklch(66.7% 0.178 306.2);
Tailwind
colors: {
  custom: {
    50: '#ca9cf0',
    500: '#b072e9',
    950: '#000000',
  },
}
SCSS
$custom: #b072e9;
$custom-light: #ca9cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#b072e9",
  "rgb": {
    "r": 176,
    "g": 114,
    "b": 233
  },
  "hsl": {
    "h": 271.261,
    "s": 73.006,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66691,
    "c": 0.17804,
    "h": 306.2
  },
  "luminance": 0.27148
}

Semantic roles & 50–950 ramp

primary
#B072E9
secondary
#DBEEC9
accent
#D5106F
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B072E9

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

Preview Lab → · Contrast checker → · Palette generator →

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