#B07FEF#B07FEF

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

Color values

HEX#B07FEF
RGBrgb(176, 127, 239)
HSLhsl(266, 78%, 72%)
HSVhsv(266, 47%, 94%)
CMYKcmyk(26.4%, 46.9%, 0%, 6.3%)
CIE-LABlab(62.20, 40.92, -49.61)
CIE-LCHlch(62.20, 64.31, 309.52°)
OKLaboklab(69.09% 0.0886 -0.1391)
OKLCHoklch(69.09% 0.165 302.5)
XYZxyz(41.0704, 30.6408, 85.3952)
Luminance0.3064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B07FEF #BEEF7F
analogous
#7F86EF #B07FEF #E87FEF
triadic
#B07FEF #EFB07F #7FEFB0
tetradic
#B07FEF #EF7F86 #BEEF7F #7FEFE8
square
#B07FEF #EF7F86 #BEEF7F #7FEFE8
split-complementary
#B07FEF #EFE87F #86EF7F
monochromatic
#6E1BD9 #8E49E8 #B07FEF #D2B5F6 #EEE4FC

Accessibility & contrast

On white

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

On black

7.13
#B07FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B07FEF
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B07FEF#FFFFFF#000000##000000
##B07FEF1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E95F3
Deuteranopia (green-blind)
#6A96EC
Tritanopia (blue-blind)
#A593AC
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b07fef;
/* rgb */ color: rgb(176, 127, 239);
/* oklch */ color: oklch(69.1% 0.165 302.5);
Tailwind
colors: {
  custom: {
    50: '#caa5f5',
    500: '#b07fef',
    950: '#000000',
  },
}
SCSS
$custom: #b07fef;
$custom-light: #caa5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b07fef",
  "rgb": {
    "r": 176,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 266.25,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69093,
    "c": 0.1649,
    "h": 302.5
  },
  "luminance": 0.30641
}

Semantic roles & 50–950 ramp

primary
#B07FEF
secondary
#E7F3D7
accent
#DA0B80
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #B07FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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