#B37AF2#B37AF2

#B37AF2 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.7% C 0.177 H 304.1°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#B37AF2
RGBrgb(179, 122, 242)
HSLhsl(269, 82%, 71%)
HSVhsv(269, 50%, 95%)
CMYKcmyk(26%, 49.6%, 0%, 5.1%)
CIE-LABlab(61.58, 45.15, -52.23)
CIE-LCHlch(61.58, 69.04, 310.84°)
OKLaboklab(68.75% 0.0992 -0.1467)
OKLCHoklch(68.75% 0.177 304.1)
XYZxyz(41.5735, 29.9137, 87.5709)
Luminance0.2991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37AF2 #B9F27A
analogous
#7A7DF2 #B37AF2 #EF7AF2
triadic
#B37AF2 #F2B37A #7AF2B3
tetradic
#B37AF2 #F27A7D #B9F27A #7AF2EF
square
#B37AF2 #F27A7D #B9F27A #7AF2EF
split-complementary
#B37AF2 #F2EF7A #7DF27A
monochromatic
#7416DC #9342ED #B37AF2 #D3B2F7 #EFE3FC

Accessibility & contrast

On white

3.01
#B37AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#B37AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B37AF2
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37AF2#FFFFFF#000000##000000
##B37AF21.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5593F6
Deuteranopia (green-blind)
#6595EF
Tritanopia (blue-blind)
#A890AB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b37af2;
/* rgb */ color: rgb(179, 122, 242);
/* oklch */ color: oklch(68.7% 0.177 304.1);
Tailwind
colors: {
  custom: {
    50: '#cca2f7',
    500: '#b37af2',
    950: '#000000',
  },
}
SCSS
$custom: #b37af2;
$custom-light: #cca2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b37af2",
  "rgb": {
    "r": 179,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 268.5,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68748,
    "c": 0.17703,
    "h": 304.1
  },
  "luminance": 0.29914
}

Semantic roles & 50–950 ramp

primary
#B37AF2
secondary
#E5F3D4
accent
#DF0778
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B37AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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