#B07EFE#B07EFE

#B07EFE is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.8% C 0.185 H 299.6°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#B07EFE
RGBrgb(176, 126, 254)
HSLhsl(263, 98%, 75%)
HSVhsv(263, 50%, 100%)
CMYKcmyk(30.7%, 50.4%, 0%, 0.4%)
CIE-LABlab(62.77, 45.07, -56.98)
CIE-LCHlch(62.77, 72.65, 308.35°)
OKLaboklab(69.77% 0.0914 -0.1606)
OKLCHoklch(69.77% 0.185 299.6)
XYZxyz(43.2505, 31.3073, 97.5110)
Luminance0.3131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B07EFE #CCFE7E
analogous
#7E8CFE #B07EFE #F07EFE
triadic
#B07EFE #FEB07E #7EFEB0
tetradic
#B07EFE #FE7E8C #CCFE7E #7EFEF0
square
#B07EFE #FE7E8C #CCFE7E #7EFEF0
split-complementary
#B07EFE #FEF07E #8CFE7E
monochromatic
#6605FD #8B41FE #B07EFE #D5BBFE #ECE1FF

Accessibility & contrast

On white

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

On black

7.26
#B07EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B07EFE
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B07EFE#FFFFFF#000000##000000
##B07EFE1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5198FF
Deuteranopia (green-blind)
#5E97FB
Tritanopia (blue-blind)
#A096B2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b07efe;
/* rgb */ color: rgb(176, 126, 254);
/* oklch */ color: oklch(69.8% 0.185 299.6);
Tailwind
colors: {
  custom: {
    50: '#cba4ff',
    500: '#b07efe',
    950: '#000000',
  },
}
SCSS
$custom: #b07efe;
$custom-light: #cba4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b07efe",
  "rgb": {
    "r": 176,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 263.438,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69766,
    "c": 0.18478,
    "h": 299.6
  },
  "luminance": 0.31308
}

Semantic roles & 50–950 ramp

primary
#B07EFE
secondary
#E9F7D4
accent
#E6008C
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B07EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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