#B351E7#B351E7

#B351E7 is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.4% C 0.224 H 311.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B351E7
RGBrgb(179, 81, 231)
HSLhsl(279, 76%, 61%)
HSVhsv(279, 65%, 91%)
CMYKcmyk(22.5%, 64.9%, 0%, 9.4%)
CIE-LABlab(53.21, 63.29, -59.47)
CIE-LCHlch(53.21, 86.84, 316.78°)
OKLaboklab(62.42% 0.1493 -0.1677)
OKLCHoklch(62.42% 0.224 311.7)
XYZxyz(35.9540, 21.2390, 77.7913)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B351E7 #85E751
analogous
#6851E7 #B351E7 #E751D0
triadic
#B351E7 #E7B351 #51E7B3
tetradic
#B351E7 #E76851 #85E751 #51D0E7
square
#B351E7 #E76851 #85E751 #51D0E7
split-complementary
#B351E7 #D0E751 #51E768
monochromatic
#7517A7 #9B1EDC #B351E7 #CA87EE #E2BDF6

Accessibility & contrast

On white

4.00
#B351E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#B351E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B351E7
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B351E7#FFFFFF#000000##000000
##B351E71.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#4281E4
Tritanopia (blue-blind)
#AD6F95
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b351e7;
/* rgb */ color: rgb(179, 81, 231);
/* oklch */ color: oklch(62.4% 0.224 311.7);
Tailwind
colors: {
  custom: {
    50: '#ce88ef',
    500: '#b351e7',
    950: '#000000',
  },
}
SCSS
$custom: #b351e7;
$custom-light: #ce88ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b351e7",
  "rgb": {
    "r": 179,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 279.2,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6242,
    "c": 0.22448,
    "h": 311.7
  },
  "luminance": 0.21238
}

Semantic roles & 50–950 ramp

primary
#B351E7
secondary
#C1E6AE
accent
#D80E54
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B351E7

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

Preview Lab → · Contrast checker → · Palette generator →

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