#B072EF#B072EF

#B072EF is a light, vivid violet. Relative luminance 0.275; OKLCH L 67.0% C 0.185 H 304.8°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#B072EF
RGBrgb(176, 114, 239)
HSLhsl(270, 80%, 69%)
HSVhsv(270, 52%, 94%)
CMYKcmyk(26.4%, 52.3%, 0%, 6.3%)
CIE-LABlab(59.43, 47.99, -54.01)
CIE-LCHlch(59.43, 72.25, 311.62°)
OKLaboklab(67.03% 0.1057 -0.1519)
OKLCHoklch(67.03% 0.185 304.8)
XYZxyz(39.4984, 27.4969, 84.8712)
Luminance0.2750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B072EF #B1EF72
analogous
#7273EF #B072EF #EF72EF
triadic
#B072EF #EFB072 #72EFB0
tetradic
#B072EF #EF7273 #B1EF72 #72EFEF
square
#B072EF #EF7273 #B1EF72 #72EFEF
split-complementary
#B072EF #EFEF72 #73EF72
monochromatic
#7318CF #913BE9 #B072EF #CFA9F5 #EEE0FB

Accessibility & contrast

On white

3.23
#B072EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#B072EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B072EF
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B072EF#FFFFFF#000000##000000
##B072EF1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#498DF3
Deuteranopia (green-blind)
#5C8FEC
Tritanopia (blue-blind)
#A589A6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b072ef;
/* rgb */ color: rgb(176, 114, 239);
/* oklch */ color: oklch(67.0% 0.185 304.8);
Tailwind
colors: {
  custom: {
    50: '#cb9cf5',
    500: '#b072ef',
    950: '#000000',
  },
}
SCSS
$custom: #b072ef;
$custom-light: #cb9cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#b072ef",
  "rgb": {
    "r": 176,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 269.76,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67032,
    "c": 0.18503,
    "h": 304.8
  },
  "luminance": 0.27497
}

Semantic roles & 50–950 ramp

primary
#B072EF
secondary
#DFF1CC
accent
#DC0A74
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #B072EF

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

Preview Lab → · Contrast checker → · Palette generator →

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