#B37CFE#B37CFE

#B37CFE is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.7% C 0.188 H 301.2°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#B37CFE
RGBrgb(179, 124, 254)
HSLhsl(265, 98%, 74%)
HSVhsv(265, 51%, 100%)
CMYKcmyk(29.5%, 51.2%, 0%, 0.4%)
CIE-LABlab(62.64, 46.90, -57.16)
CIE-LCHlch(62.64, 73.94, 309.37°)
OKLaboklab(69.74% 0.0976 -0.1611)
OKLCHoklch(69.74% 0.188 301.2)
XYZxyz(43.6833, 31.1546, 97.4588)
Luminance0.3115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37CFE #C7FE7C
analogous
#7C86FE #B37CFE #F47CFE
triadic
#B37CFE #FEB37C #7CFEB3
tetradic
#B37CFE #FE7C86 #C7FE7C #7CFEF4
square
#B37CFE #FE7C86 #C7FE7C #7CFEF4
split-complementary
#B37CFE #FEF47C #86FE7C
monochromatic
#6D03FD #903FFE #B37CFE #D6B9FE #EDE1FF

Accessibility & contrast

On white

2.90
#B37CFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#B37CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37CFE
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37CFE#FFFFFF#000000##000000
##B37CFE1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F97FF
Deuteranopia (green-blind)
#5E97FB
Tritanopia (blue-blind)
#A495B2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b37cfe;
/* rgb */ color: rgb(179, 124, 254);
/* oklch */ color: oklch(69.7% 0.188 301.2);
Tailwind
colors: {
  custom: {
    50: '#cda3ff',
    500: '#b37cfe',
    950: '#000000',
  },
}
SCSS
$custom: #b37cfe;
$custom-light: #cda3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b37cfe",
  "rgb": {
    "r": 179,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 265.385,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69739,
    "c": 0.18831,
    "h": 301.2
  },
  "luminance": 0.31155
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B37CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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