#B251E0#B251E0

#B251E0 is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.9% C 0.217 H 313.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B251E0
RGBrgb(178, 81, 224)
HSLhsl(281, 70%, 60%)
HSVhsv(281, 64%, 88%)
CMYKcmyk(20.5%, 63.8%, 0%, 12.2%)
CIE-LABlab(52.66, 61.61, -56.42)
CIE-LCHlch(52.66, 83.54, 317.52°)
OKLaboklab(61.86% 0.1484 -0.1587)
OKLCHoklch(61.86% 0.217 313.1)
XYZxyz(34.7547, 20.7326, 72.6776)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B251E0 #7FE051
analogous
#6A51E0 #B251E0 #E051C7
triadic
#B251E0 #E0B251 #51E0B2
tetradic
#B251E0 #E06A51 #7FE051 #51C7E0
square
#B251E0 #E06A51 #7FE051 #51C7E0
split-complementary
#B251E0 #C7E051 #51E06A
monochromatic
#721C9B #9825CF #B251E0 #C985E9 #E0B9F3

Accessibility & contrast

On white

4.08
#B251E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#B251E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B251E0
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B251E0#FFFFFF#000000##000000
##B251E01.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0679E4
Deuteranopia (green-blind)
#4880DD
Tritanopia (blue-blind)
#AD6D92
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b251e0;
/* rgb */ color: rgb(178, 81, 224);
/* oklch */ color: oklch(61.9% 0.217 313.1);
Tailwind
colors: {
  custom: {
    50: '#cd88ea',
    500: '#b251e0',
    950: '#000000',
  },
}
SCSS
$custom: #b251e0;
$custom-light: #cd88ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b251e0",
  "rgb": {
    "r": 178,
    "g": 81,
    "b": 224
  },
  "hsl": {
    "h": 280.699,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61858,
    "c": 0.21729,
    "h": 313.1
  },
  "luminance": 0.20732
}

Semantic roles & 50–950 ramp

primary
#B251E0
secondary
#BDE2AB
accent
#ED3B74
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B251E0

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

Preview Lab → · Contrast checker → · Palette generator →

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