#B07FEC#B07FEC

#B07FEC is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.9% C 0.161 H 303.2°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#B07FEC
RGBrgb(176, 127, 236)
HSLhsl(267, 74%, 71%)
HSVhsv(267, 46%, 93%)
CMYKcmyk(25.4%, 46.2%, 0%, 7.5%)
CIE-LABlab(62.05, 40.22, -48.18)
CIE-LCHlch(62.05, 62.76, 309.85°)
OKLaboklab(68.93% 0.0882 -0.1349)
OKLCHoklch(68.93% 0.161 303.2)
XYZxyz(40.6309, 30.4650, 83.0804)
Luminance0.3046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B07FEC #BBEC7F
analogous
#7F84EC #B07FEC #E67FEC
triadic
#B07FEC #ECB07F #7FECB0
tetradic
#B07FEC #EC7F84 #BBEC7F #7FECE6
square
#B07FEC #EC7F84 #BBEC7F #7FECE6
split-complementary
#B07FEC #ECE67F #84EC7F
monochromatic
#6F1FD2 #8F4AE4 #B07FEC #D1B4F4 #EFE4FB

Accessibility & contrast

On white

2.96
#B07FEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#B07FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B07FEC
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B07FEC#FFFFFF#000000##000000
##B07FEC1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6095F0
Deuteranopia (green-blind)
#6C96E9
Tritanopia (blue-blind)
#A692AA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b07fec;
/* rgb */ color: rgb(176, 127, 236);
/* oklch */ color: oklch(68.9% 0.161 303.2);
Tailwind
colors: {
  custom: {
    50: '#caa5f2',
    500: '#b07fec',
    950: '#000000',
  },
}
SCSS
$custom: #b07fec;
$custom-light: #caa5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b07fec",
  "rgb": {
    "r": 176,
    "g": 127,
    "b": 236
  },
  "hsl": {
    "h": 266.972,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68932,
    "c": 0.16122,
    "h": 303.2
  },
  "luminance": 0.30465
}

Semantic roles & 50–950 ramp

primary
#B07FEC
secondary
#E5F2D5
accent
#D60F7D
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #B07FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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