#B351F6#B351F6

#B351F6 is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 63.4% C 0.239 H 308.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B351F6
RGBrgb(179, 81, 246)
HSLhsl(276, 90%, 64%)
HSVhsv(276, 67%, 96%)
CMYKcmyk(27.2%, 67.1%, 0%, 3.5%)
CIE-LABlab(54.16, 66.47, -66.34)
CIE-LCHlch(54.16, 93.91, 315.06°)
OKLaboklab(63.4% 0.148 -0.1878)
OKLCHoklch(63.4% 0.239 308.2)
XYZxyz(38.1640, 22.1230, 89.4306)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B351F6 #94F651
analogous
#6151F6 #B351F6 #F651E7
triadic
#B351F6 #F6B351 #51F6B3
tetradic
#B351F6 #F66151 #94F651 #51E7F6
square
#B351F6 #F66151 #94F651 #51E7F6
split-complementary
#B351F6 #E7F651 #51F661
monochromatic
#780AC3 #9A17F3 #B351F6 #CC8BF9 #E6C5FC

Accessibility & contrast

On white

3.87
#B351F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#B351F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B351F6
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B351F6#FFFFFF#000000##000000
##B351F61.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFB
Deuteranopia (green-blind)
#2D83F2
Tritanopia (blue-blind)
#A9759D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b351f6;
/* rgb */ color: rgb(179, 81, 246);
/* oklch */ color: oklch(63.4% 0.239 308.2);
Tailwind
colors: {
  custom: {
    50: '#cf89fa',
    500: '#b351f6',
    950: '#000000',
  },
}
SCSS
$custom: #b351f6;
$custom-light: #cf89fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b351f6",
  "rgb": {
    "r": 179,
    "g": 81,
    "b": 246
  },
  "hsl": {
    "h": 275.636,
    "s": 90.164,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63402,
    "c": 0.23916,
    "h": 308.2
  },
  "luminance": 0.22122
}

Semantic roles & 50–950 ramp

primary
#B351F6
secondary
#CCEEB5
accent
#E6005D
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B351F6

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

Preview Lab → · Contrast checker → · Palette generator →

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