#B07AFA#B07AFA

#B07AFA is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.9% C 0.186 H 301.1°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#B07AFA
RGBrgb(176, 122, 250)
HSLhsl(265, 93%, 73%)
HSVhsv(265, 51%, 98%)
CMYKcmyk(29.6%, 51.2%, 0%, 2%)
CIE-LABlab(61.70, 46.28, -56.48)
CIE-LCHlch(61.70, 73.02, 309.33°)
OKLaboklab(68.9% 0.0962 -0.1591)
OKLCHoklch(68.9% 0.186 301.1)
XYZxyz(42.1154, 30.0511, 94.0056)
Luminance0.3005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B07AFA #C4FA7A
analogous
#7A84FA #B07AFA #F07AFA
triadic
#B07AFA #FAB07A #7AFAB0
tetradic
#B07AFA #FA7A84 #C4FA7A #7AFAF0
square
#B07AFA #FA7A84 #C4FA7A #7AFAF0
split-complementary
#B07AFA #FAF07A #84FA7A
monochromatic
#6B09F1 #8D3FF8 #B07AFA #D3B5FC #EDE2FE

Accessibility & contrast

On white

3.00
#B07AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#B07AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B07AFA
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B07AFA#FFFFFF#000000##000000
##B07AFA1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D94FE
Deuteranopia (green-blind)
#5D94F7
Tritanopia (blue-blind)
#A292AF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b07afa;
/* rgb */ color: rgb(176, 122, 250);
/* oklch */ color: oklch(68.9% 0.186 301.1);
Tailwind
colors: {
  custom: {
    50: '#cba2fc',
    500: '#b07afa',
    950: '#000000',
  },
}
SCSS
$custom: #b07afa;
$custom-light: #cba2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b07afa",
  "rgb": {
    "r": 176,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 265.313,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68903,
    "c": 0.18594,
    "h": 301.1
  },
  "luminance": 0.30051
}

Semantic roles & 50–950 ramp

primary
#B07AFA
secondary
#E8F6D5
accent
#E60085
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B07AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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