#B072EB#B072EB

#B072EB is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.8% C 0.180 H 305.7°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B072EB
RGBrgb(176, 114, 235)
HSLhsl(271, 75%, 68%)
HSVhsv(271, 51%, 92%)
CMYKcmyk(25.1%, 51.5%, 0%, 7.8%)
CIE-LABlab(59.22, 47.06, -52.12)
CIE-LCHlch(59.22, 70.23, 312.08°)
OKLaboklab(66.8% 0.1054 -0.1464)
OKLCHoklch(66.8% 0.18 305.7)
XYZxyz(38.9141, 27.2632, 81.7934)
Luminance0.2726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B072EB #ADEB72
analogous
#7372EB #B072EB #EB72E9
triadic
#B072EB #EBB072 #72EBB0
tetradic
#B072EB #EB7372 #ADEB72 #72E9EB
square
#B072EB #EB7372 #ADEB72 #72E9EB
split-complementary
#B072EB #E9EB72 #72EB73
monochromatic
#731CC6 #923CE3 #B072EB #CEA8F3 #ECDDFA

Accessibility & contrast

On white

3.25
#B072EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#B072EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B072EB
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B072EB#FFFFFF#000000##000000
##B072EB1.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8DEF
Deuteranopia (green-blind)
#5F8FE8
Tritanopia (blue-blind)
#A688A4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b072eb;
/* rgb */ color: rgb(176, 114, 235);
/* oklch */ color: oklch(66.8% 0.180 305.7);
Tailwind
colors: {
  custom: {
    50: '#ca9cf2',
    500: '#b072eb',
    950: '#000000',
  },
}
SCSS
$custom: #b072eb;
$custom-light: #ca9cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b072eb",
  "rgb": {
    "r": 176,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 270.744,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66804,
    "c": 0.18038,
    "h": 305.7
  },
  "luminance": 0.27263
}

Semantic roles & 50–950 ramp

primary
#B072EB
secondary
#DCEFCA
accent
#D70E70
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B072EB

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

Preview Lab → · Contrast checker → · Palette generator →

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