#B07FFE#B07FFE

#B07FFE is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.9% C 0.183 H 299.5°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#B07FFE
RGBrgb(176, 127, 254)
HSLhsl(263, 98%, 75%)
HSVhsv(263, 50%, 100%)
CMYKcmyk(30.7%, 50%, 0%, 0.4%)
CIE-LABlab(62.98, 44.53, -56.63)
CIE-LCHlch(62.98, 72.04, 308.17°)
OKLaboklab(69.93% 0.0901 -0.1596)
OKLCHoklch(69.93% 0.183 299.5)
XYZxyz(43.3790, 31.5643, 97.5538)
Luminance0.3156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B07FFE #CDFE7F
analogous
#7F8DFE #B07FFE #F07FFE
triadic
#B07FFE #FEB07F #7FFEB0
tetradic
#B07FFE #FE7F8D #CDFE7F #7FFEF0
square
#B07FFE #FE7F8D #CDFE7F #7FFEF0
split-complementary
#B07FFE #FEF07F #8DFE7F
monochromatic
#6506FD #8B42FE #B07FFE #D5BCFE #ECE1FF

Accessibility & contrast

On white

2.87
#B07FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#B07FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B07FFE
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B07FFE#FFFFFF#000000##000000
##B07FFE1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5398FF
Deuteranopia (green-blind)
#6097FB
Tritanopia (blue-blind)
#A097B3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b07ffe;
/* rgb */ color: rgb(176, 127, 254);
/* oklch */ color: oklch(69.9% 0.183 299.5);
Tailwind
colors: {
  custom: {
    50: '#cba5ff',
    500: '#b07ffe',
    950: '#000000',
  },
}
SCSS
$custom: #b07ffe;
$custom-light: #cba5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b07ffe",
  "rgb": {
    "r": 176,
    "g": 127,
    "b": 254
  },
  "hsl": {
    "h": 263.15,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.69926,
    "c": 0.18329,
    "h": 299.5
  },
  "luminance": 0.31565
}

Semantic roles & 50–950 ramp

primary
#B07FFE
secondary
#EAF7D4
accent
#E6008D
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B07FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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