#B93EF2#B93EF2

#B93EF2 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 62.0% C 0.258 H 312.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B93EF2
RGBrgb(185, 62, 242)
HSLhsl(281, 87%, 60%)
HSVhsv(281, 74%, 95%)
CMYKcmyk(23.6%, 74.4%, 0%, 5.1%)
CIE-LABlab(52.03, 74.31, -67.50)
CIE-LCHlch(52.03, 100.39, 317.75°)
OKLaboklab(61.97% 0.1741 -0.191)
OKLCHoklch(61.97% 0.258 312.4)
XYZxyz(37.7543, 20.1714, 85.8919)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B93EF2 #77F23E
analogous
#5F3EF2 #B93EF2 #F23ED1
triadic
#B93EF2 #F2B93E #3EF2B9
tetradic
#B93EF2 #F25F3E #77F23E #3ED1F2
square
#B93EF2 #F25F3E #77F23E #3ED1F2
split-complementary
#B93EF2 #D1F23E #3EF25F
monochromatic
#780BAA #A00FE3 #B93EF2 #CE77F6 #E3B1FA

Accessibility & contrast

On white

4.17
#B93EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#B93EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B93EF2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B93EF2#FFFFFF#000000##000000
##B93EF21.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F7
Deuteranopia (green-blind)
#247EEE
Tritanopia (blue-blind)
#B26896
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b93ef2;
/* rgb */ color: rgb(185, 62, 242);
/* oklch */ color: oklch(62.0% 0.258 312.4);
Tailwind
colors: {
  custom: {
    50: '#d37ff7',
    500: '#b93ef2',
    950: '#000000',
  },
}
SCSS
$custom: #b93ef2;
$custom-light: #d37ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#b93ef2",
  "rgb": {
    "r": 185,
    "g": 62,
    "b": 242
  },
  "hsl": {
    "h": 281,
    "s": 87.379,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61973,
    "c": 0.25843,
    "h": 312.4
  },
  "luminance": 0.2017
}

Semantic roles & 50–950 ramp

primary
#B93EF2
secondary
#B9E9A3
accent
#FE2A6D
background
#FDF8FF
surface
#FBEFFF
border
#D4CAD7
text
#150B17
muted
#837C85

Preview Lab

Preview with #B93EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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