#B37EFE#B37EFE

#B37EFE is a light, vivid violet. Relative luminance 0.317; OKLCH L 70.1% C 0.185 H 300.8°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#B37EFE
RGBrgb(179, 126, 254)
HSLhsl(265, 98%, 75%)
HSVhsv(265, 50%, 100%)
CMYKcmyk(29.5%, 50.4%, 0%, 0.4%)
CIE-LABlab(63.06, 45.82, -56.49)
CIE-LCHlch(63.06, 72.73, 309.05°)
OKLaboklab(70.05% 0.095 -0.1591)
OKLCHoklch(70.05% 0.185 300.8)
XYZxyz(43.9365, 31.6610, 97.5432)
Luminance0.3166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37EFE #C9FE7E
analogous
#7E89FE #B37EFE #F37EFE
triadic
#B37EFE #FEB37E #7EFEB3
tetradic
#B37EFE #FE7E89 #C9FE7E #7EFEF3
square
#B37EFE #FE7E89 #C9FE7E #7EFEF3
split-complementary
#B37EFE #FEF37E #89FE7E
monochromatic
#6B05FD #8F41FE #B37EFE #D7BBFE #EDE1FF

Accessibility & contrast

On white

2.86
#B37EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#B37EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37EFE
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37EFE#FFFFFF#000000##000000
##B37EFE1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5298FF
Deuteranopia (green-blind)
#6198FB
Tritanopia (blue-blind)
#A496B2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b37efe;
/* rgb */ color: rgb(179, 126, 254);
/* oklch */ color: oklch(70.1% 0.185 300.8);
Tailwind
colors: {
  custom: {
    50: '#cda5ff',
    500: '#b37efe',
    950: '#000000',
  },
}
SCSS
$custom: #b37efe;
$custom-light: #cda5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b37efe",
  "rgb": {
    "r": 179,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 264.844,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70054,
    "c": 0.1853,
    "h": 300.8
  },
  "luminance": 0.31661
}

Semantic roles & 50–950 ramp

primary
#B37EFE
secondary
#E9F7D4
accent
#E60086
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B37EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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