#B37AFF#B37AFF

#B37AFF is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.5% C 0.192 H 301.4°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#B37AFF
RGBrgb(179, 122, 255)
HSLhsl(266, 100%, 74%)
HSVhsv(266, 52%, 100%)
CMYKcmyk(29.8%, 52.2%, 0%, 0%)
CIE-LABlab(62.27, 48.22, -58.29)
CIE-LCHlch(62.27, 75.65, 309.60°)
OKLaboklab(69.49% 0.1001 -0.1644)
OKLCHoklch(69.49% 0.192 301.4)
XYZxyz(43.5958, 30.7226, 98.2216)
Luminance0.3072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37AFF #C6FF7A
analogous
#7A84FF #B37AFF #F57AFF
triadic
#B37AFF #FFB37A #7AFFB3
tetradic
#B37AFF #FF7A84 #C6FF7A #7AFFF5
square
#B37AFF #FF7A84 #C6FF7A #7AFFF5
split-complementary
#B37AFF #FFF57A #84FF7A
monochromatic
#6D00FF #903DFF #B37AFF #D6B7FF #EEE0FF

Accessibility & contrast

On white

2.94
#B37AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#B37AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37AFF
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37AFF#FFFFFF#000000##000000
##B37AFF1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A96FF
Deuteranopia (green-blind)
#5B96FC
Tritanopia (blue-blind)
#A493B1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b37aff;
/* rgb */ color: rgb(179, 122, 255);
/* oklch */ color: oklch(69.5% 0.192 301.4);
Tailwind
colors: {
  custom: {
    50: '#cda2ff',
    500: '#b37aff',
    950: '#000000',
  },
}
SCSS
$custom: #b37aff;
$custom-light: #cda2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b37aff",
  "rgb": {
    "r": 179,
    "g": 122,
    "b": 255
  },
  "hsl": {
    "h": 265.714,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69486,
    "c": 0.19247,
    "h": 301.4
  },
  "luminance": 0.30723
}

Semantic roles & 50–950 ramp

primary
#B37AFF
secondary
#E8F7D4
accent
#E60083
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B37AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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