#B93FE2#B93FE2

#B93FE2 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 61.0% C 0.243 H 316.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B93FE2
RGBrgb(185, 63, 226)
HSLhsl(285, 74%, 57%)
HSVhsv(285, 72%, 89%)
CMYKcmyk(18.1%, 72.1%, 0%, 11.4%)
CIE-LABlab(51.11, 70.86, -59.98)
CIE-LCHlch(51.11, 92.84, 319.75°)
OKLaboklab(60.99% 0.1754 -0.1689)
OKLCHoklch(60.99% 0.243 316.1)
XYZxyz(35.5104, 19.3617, 73.8034)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B93FE2 #68E23F
analogous
#683FE2 #B93FE2 #E23FBA
triadic
#B93FE2 #E2B93F #3FE2B9
tetradic
#B93FE2 #E2683F #68E23F #3FBAE2
square
#B93FE2 #E2683F #68E23F #3FBAE2
split-complementary
#B93FE2 #BAE23F #3FE268
monochromatic
#721691 #9C1EC6 #B93FE2 #CC74EA #E0A9F2

Accessibility & contrast

On white

4.31
#B93FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B93FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B93FE2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B93FE2#FFFFFF#000000##000000
##B93FE21.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#3E7DDE
Tritanopia (blue-blind)
#B6618D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b93fe2;
/* rgb */ color: rgb(185, 63, 226);
/* oklch */ color: oklch(61.0% 0.243 316.1);
Tailwind
colors: {
  custom: {
    50: '#d27fec',
    500: '#b93fe2',
    950: '#000000',
  },
}
SCSS
$custom: #b93fe2;
$custom-light: #d27fec;
$custom-dark: #000000;
JSON
{
  "hex": "#b93fe2",
  "rgb": {
    "r": 185,
    "g": 63,
    "b": 226
  },
  "hsl": {
    "h": 284.908,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60987,
    "c": 0.24349,
    "h": 316.1
  },
  "luminance": 0.1936
}

Semantic roles & 50–950 ramp

primary
#B93FE2
secondary
#AEE09D
accent
#F03766
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #B93FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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