#B07AFE#B07AFE

#B07AFE is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.1% C 0.191 H 300.4°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#B07AFE
RGBrgb(176, 122, 254)
HSLhsl(265, 99%, 74%)
HSVhsv(265, 52%, 100%)
CMYKcmyk(30.7%, 52%, 0%, 0.4%)
CIE-LABlab(61.92, 47.24, -58.33)
CIE-LCHlch(61.92, 75.06, 309.00°)
OKLaboklab(69.14% 0.0964 -0.1646)
OKLCHoklch(69.14% 0.191 300.4)
XYZxyz(42.7492, 30.3047, 97.3439)
Luminance0.3030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B07AFE #C8FE7A
analogous
#7A86FE #B07AFE #F27AFE
triadic
#B07AFE #FEB07A #7AFEB0
tetradic
#B07AFE #FE7A86 #C8FE7A #7AFEF2
square
#B07AFE #FE7A86 #C8FE7A #7AFEF2
split-complementary
#B07AFE #FEF27A #86FE7A
monochromatic
#6802FC #8C3DFE #B07AFE #D4B7FE #EDE1FF

Accessibility & contrast

On white

2.97
#B07AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#B07AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B07AFE
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B07AFE#FFFFFF#000000##000000
##B07AFE1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A95FF
Deuteranopia (green-blind)
#5995FB
Tritanopia (blue-blind)
#A093B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b07afe;
/* rgb */ color: rgb(176, 122, 254);
/* oklch */ color: oklch(69.1% 0.191 300.4);
Tailwind
colors: {
  custom: {
    50: '#cba2ff',
    500: '#b07afe',
    950: '#000000',
  },
}
SCSS
$custom: #b07afe;
$custom-light: #cba2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b07afe",
  "rgb": {
    "r": 176,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 264.545,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.69135,
    "c": 0.19074,
    "h": 300.4
  },
  "luminance": 0.30305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B07AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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