#B37AFA#B37AFA

#B37AFA is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.2% C 0.187 H 302.3°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#B37AFA
RGBrgb(179, 122, 250)
HSLhsl(267, 93%, 73%)
HSVhsv(267, 51%, 98%)
CMYKcmyk(28.4%, 51.2%, 0%, 2%)
CIE-LABlab(62.00, 47.03, -55.98)
CIE-LCHlch(62.00, 73.11, 310.04°)
OKLaboklab(69.2% 0.0998 -0.1576)
OKLCHoklch(69.2% 0.187 302.3)
XYZxyz(42.8014, 30.4049, 94.0378)
Luminance0.3040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37AFA #C1FA7A
analogous
#7A81FA #B37AFA #F37AFA
triadic
#B37AFA #FAB37A #7AFAB3
tetradic
#B37AFA #FA7A81 #C1FA7A #7AFAF3
square
#B37AFA #FA7A81 #C1FA7A #7AFAF3
split-complementary
#B37AFA #FAF37A #81FA7A
monochromatic
#7009F1 #913FF8 #B37AFA #D5B5FC #EEE2FE

Accessibility & contrast

On white

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

On black

7.08
#B37AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37AFA
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37AFA#FFFFFF#000000##000000
##B37AFA1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F95FE
Deuteranopia (green-blind)
#5F95F7
Tritanopia (blue-blind)
#A692AF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b37afa;
/* rgb */ color: rgb(179, 122, 250);
/* oklch */ color: oklch(69.2% 0.187 302.3);
Tailwind
colors: {
  custom: {
    50: '#cda2fc',
    500: '#b37afa',
    950: '#000000',
  },
}
SCSS
$custom: #b37afa;
$custom-light: #cda2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b37afa",
  "rgb": {
    "r": 179,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 266.719,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69198,
    "c": 0.18654,
    "h": 302.3
  },
  "luminance": 0.30405
}

Semantic roles & 50–950 ramp

primary
#B37AFA
secondary
#E7F6D5
accent
#E6007F
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B37AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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