#B07EF2#B07EF2

#B07EF2 is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.1% C 0.170 H 302.0°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#B07EF2
RGBrgb(176, 126, 242)
HSLhsl(266, 82%, 72%)
HSVhsv(266, 48%, 95%)
CMYKcmyk(27.3%, 47.9%, 0%, 5.1%)
CIE-LABlab(62.14, 42.19, -51.37)
CIE-LCHlch(62.14, 66.47, 309.39°)
OKLaboklab(69.09% 0.0903 -0.1442)
OKLCHoklch(69.09% 0.17 302)
XYZxyz(41.3888, 30.5626, 87.7059)
Luminance0.3056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B07EF2 #C0F27E
analogous
#7E86F2 #B07EF2 #EA7EF2
triadic
#B07EF2 #F2B07E #7EF2B0
tetradic
#B07EF2 #F27E86 #C0F27E #7EF2EA
square
#B07EF2 #F27E86 #C0F27E #7EF2EA
split-complementary
#B07EF2 #F2EA7E #86F27E
monochromatic
#6D16DF #8E46EC #B07EF2 #D2B6F8 #EEE3FC

Accessibility & contrast

On white

2.95
#B07EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#B07EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B07EF2
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B07EF2#FFFFFF#000000##000000
##B07EF21.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B95F6
Deuteranopia (green-blind)
#6796EF
Tritanopia (blue-blind)
#A493AD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b07ef2;
/* rgb */ color: rgb(176, 126, 242);
/* oklch */ color: oklch(69.1% 0.170 302.0);
Tailwind
colors: {
  custom: {
    50: '#caa4f7',
    500: '#b07ef2',
    950: '#000000',
  },
}
SCSS
$custom: #b07ef2;
$custom-light: #caa4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b07ef2",
  "rgb": {
    "r": 176,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 265.862,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69093,
    "c": 0.17014,
    "h": 302
  },
  "luminance": 0.30563
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B07EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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