#B37BF2#B37BF2

#B37BF2 is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.9% C 0.175 H 303.9°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#B37BF2
RGBrgb(179, 123, 242)
HSLhsl(268, 82%, 72%)
HSVhsv(268, 49%, 95%)
CMYKcmyk(26%, 49.2%, 0%, 5.1%)
CIE-LABlab(61.79, 44.61, -51.90)
CIE-LCHlch(61.79, 68.43, 310.68°)
OKLaboklab(68.91% 0.0978 -0.1457)
OKLCHoklch(68.91% 0.175 303.9)
XYZxyz(41.6969, 30.1605, 87.6121)
Luminance0.3016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37BF2 #BAF27B
analogous
#7B7FF2 #B37BF2 #EE7BF2
triadic
#B37BF2 #F2B37B #7BF2B3
tetradic
#B37BF2 #F27B7F #BAF27B #7BF2EE
square
#B37BF2 #F27B7F #BAF27B #7BF2EE
split-complementary
#B37BF2 #F2EE7B #7FF27B
monochromatic
#7316DD #9343ED #B37BF2 #D3B3F7 #EFE3FC

Accessibility & contrast

On white

2.99
#B37BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#B37BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37BF2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37BF2#FFFFFF#000000##000000
##B37BF21.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b37bf2;
/* rgb */ color: rgb(179, 123, 242);
/* oklch */ color: oklch(68.9% 0.175 303.9);
Tailwind
colors: {
  custom: {
    50: '#cca2f7',
    500: '#b37bf2',
    950: '#000000',
  },
}
SCSS
$custom: #b37bf2;
$custom-light: #cca2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b37bf2",
  "rgb": {
    "r": 179,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 268.235,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68906,
    "c": 0.17549,
    "h": 303.9
  },
  "luminance": 0.3016
}

Semantic roles & 50–950 ramp

primary
#B37BF2
secondary
#E5F4D5
accent
#DE0779
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B37BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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