#B251E6#B251E6

#B251E6 is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.2% C 0.223 H 311.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B251E6
RGBrgb(178, 81, 230)
HSLhsl(279, 75%, 61%)
HSVhsv(279, 65%, 90%)
CMYKcmyk(22.6%, 64.8%, 0%, 9.8%)
CIE-LABlab(53.02, 62.86, -59.22)
CIE-LCHlch(53.02, 86.36, 316.71°)
OKLaboklab(62.24% 0.1481 -0.167)
OKLCHoklch(62.24% 0.223 311.6)
XYZxyz(35.5828, 21.0639, 77.0389)
Luminance0.2106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B251E6 #85E651
analogous
#6751E6 #B251E6 #E651D0
triadic
#B251E6 #E6B251 #51E6B2
tetradic
#B251E6 #E66751 #85E651 #51D0E6
square
#B251E6 #E66751 #85E651 #51D0E6
split-complementary
#B251E6 #D0E651 #51E667
monochromatic
#7418A5 #991FDA #B251E6 #CA87EE #E1BCF5

Accessibility & contrast

On white

4.03
#B251E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#B251E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B251E6
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B251E6#FFFFFF#000000##000000
##B251E61.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#4280E3
Tritanopia (blue-blind)
#AC6F95
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b251e6;
/* rgb */ color: rgb(178, 81, 230);
/* oklch */ color: oklch(62.2% 0.223 311.6);
Tailwind
colors: {
  custom: {
    50: '#cd88ef',
    500: '#b251e6',
    950: '#000000',
  },
}
SCSS
$custom: #b251e6;
$custom-light: #cd88ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b251e6",
  "rgb": {
    "r": 178,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 279.06,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62236,
    "c": 0.22317,
    "h": 311.6
  },
  "luminance": 0.21063
}

Semantic roles & 50–950 ramp

primary
#B251E6
secondary
#C1E5AD
accent
#D70E54
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B251E6

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

Preview Lab → · Contrast checker → · Palette generator →

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