#B37FFE#B37FFE

#B37FFE is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.2% C 0.184 H 300.7°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#B37FFE
RGBrgb(179, 127, 254)
HSLhsl(265, 98%, 75%)
HSVhsv(265, 50%, 100%)
CMYKcmyk(29.5%, 50%, 0%, 0.4%)
CIE-LABlab(63.28, 45.28, -56.15)
CIE-LCHlch(63.28, 72.13, 308.88°)
OKLaboklab(70.21% 0.0937 -0.1581)
OKLCHoklch(70.21% 0.184 300.7)
XYZxyz(44.0650, 31.9180, 97.5860)
Luminance0.3192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37FFE #CAFE7F
analogous
#7F8BFE #B37FFE #F37FFE
triadic
#B37FFE #FEB37F #7FFEB3
tetradic
#B37FFE #FE7F8B #CAFE7F #7FFEF3
square
#B37FFE #FE7F8B #CAFE7F #7FFEF3
split-complementary
#B37FFE #FEF37F #8BFE7F
monochromatic
#6B06FD #8F42FE #B37FFE #D7BCFE #EDE1FF

Accessibility & contrast

On white

2.84
#B37FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#B37FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37FFE
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37FFE#FFFFFF#000000##000000
##B37FFE1.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5499FF
Deuteranopia (green-blind)
#6298FB
Tritanopia (blue-blind)
#A497B3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b37ffe;
/* rgb */ color: rgb(179, 127, 254);
/* oklch */ color: oklch(70.2% 0.184 300.7);
Tailwind
colors: {
  custom: {
    50: '#cda5ff',
    500: '#b37ffe',
    950: '#000000',
  },
}
SCSS
$custom: #b37ffe;
$custom-light: #cda5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b37ffe",
  "rgb": {
    "r": 179,
    "g": 127,
    "b": 254
  },
  "hsl": {
    "h": 264.567,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70213,
    "c": 0.1838,
    "h": 300.7
  },
  "luminance": 0.31918
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B37FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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