#B351E6#B351E6

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

Color values

HEX#B351E6
RGBrgb(179, 81, 230)
HSLhsl(279, 75%, 61%)
HSVhsv(279, 65%, 90%)
CMYKcmyk(22.2%, 64.8%, 0%, 9.8%)
CIE-LABlab(53.15, 63.08, -59.00)
CIE-LCHlch(53.15, 86.37, 316.91°)
OKLaboklab(62.36% 0.1493 -0.1663)
OKLCHoklch(62.36% 0.224 311.9)
XYZxyz(35.8132, 21.1827, 77.0497)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B351E6 #84E651
analogous
#6851E6 #B351E6 #E651CE
triadic
#B351E6 #E6B351 #51E6B3
tetradic
#B351E6 #E66851 #84E651 #51CEE6
square
#B351E6 #E66851 #84E651 #51CEE6
split-complementary
#B351E6 #CEE651 #51E668
monochromatic
#7518A5 #9A1FDA #B351E6 #CA87EE #E2BCF5

Accessibility & contrast

On white

4.01
#B351E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#B351E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B351E6
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B351E6#FFFFFF#000000##000000
##B351E61.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b351e6;
/* rgb */ color: rgb(179, 81, 230);
/* oklch */ color: oklch(62.4% 0.224 311.9);
Tailwind
colors: {
  custom: {
    50: '#ce88ef',
    500: '#b351e6',
    950: '#000000',
  },
}
SCSS
$custom: #b351e6;
$custom-light: #ce88ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b351e6",
  "rgb": {
    "r": 179,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 279.463,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62357,
    "c": 0.2235,
    "h": 311.9
  },
  "luminance": 0.21182
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B351E6

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

Preview Lab → · Contrast checker → · Palette generator →

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