#B92FE2#B92FE2

#B92FE2 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.7% C 0.259 H 316.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B92FE2
RGBrgb(185, 47, 226)
HSLhsl(286, 76%, 54%)
HSVhsv(286, 79%, 89%)
CMYKcmyk(18.1%, 79.2%, 0%, 11.4%)
CIE-LABlab(49.30, 76.05, -62.90)
CIE-LCHlch(49.30, 98.69, 320.41°)
OKLaboklab(59.71% 0.1886 -0.1773)
OKLCHoklch(59.71% 0.259 316.8)
XYZxyz(34.7495, 17.8398, 73.5498)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B92FE2 #58E22F
analogous
#5F2FE2 #B92FE2 #E22FB1
triadic
#B92FE2 #E2B92F #2FE2B9
tetradic
#B92FE2 #E25F2F #58E22F #2FB1E2
square
#B92FE2 #E25F2F #58E22F #2FB1E2
split-complementary
#B92FE2 #B1E22F #2FE25F
monochromatic
#6A1284 #951ABA #B92FE2 #CB65E9 #DD9AF1

Accessibility & contrast

On white

4.60
#B92FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#B92FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B92FE2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B92FE2#FFFFFF#000000##FFFFFF
##B92FE21.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#3079DE
Tritanopia (blue-blind)
#B7598A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b92fe2;
/* rgb */ color: rgb(185, 47, 226);
/* oklch */ color: oklch(59.7% 0.259 316.8);
Tailwind
colors: {
  custom: {
    50: '#d378ec',
    500: '#b92fe2',
    950: '#000000',
  },
}
SCSS
$custom: #b92fe2;
$custom-light: #d378ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b92fe2",
  "rgb": {
    "r": 185,
    "g": 47,
    "b": 226
  },
  "hsl": {
    "h": 286.257,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59711,
    "c": 0.2589,
    "h": 316.8
  },
  "luminance": 0.17838
}

Semantic roles & 50–950 ramp

primary
#B92FE2
secondary
#A2DD90
accent
#F23661
background
#FDF7FE
surface
#FBEEFD
border
#D4C9D5
text
#150A16
muted
#837C84

Preview Lab

Preview with #B92FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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