#B351F2#B351F2

#B351F2 is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 63.1% C 0.235 H 309.1°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B351F2
RGBrgb(179, 81, 242)
HSLhsl(277, 86%, 63%)
HSVhsv(277, 67%, 95%)
CMYKcmyk(26%, 66.5%, 0%, 5.1%)
CIE-LABlab(53.90, 65.61, -64.52)
CIE-LCHlch(53.90, 92.02, 315.48°)
OKLaboklab(63.14% 0.1484 -0.1825)
OKLCHoklch(63.14% 0.235 309.1)
XYZxyz(37.5566, 21.8800, 86.2320)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B351F2 #90F251
analogous
#6251F2 #B351F2 #F251E0
triadic
#B351F2 #F2B351 #51F2B3
tetradic
#B351F2 #F26251 #90F251 #51E0F2
square
#B351F2 #F26251 #90F251 #51E0F2
split-complementary
#B351F2 #E0F251 #51F262
monochromatic
#770EBB #9A18EE #B351F2 #CC8AF6 #E5C3FB

Accessibility & contrast

On white

3.91
#B351F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#B351F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B351F2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B351F2#FFFFFF#000000##000000
##B351F21.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#3482EE
Tritanopia (blue-blind)
#AA739B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b351f2;
/* rgb */ color: rgb(179, 81, 242);
/* oklch */ color: oklch(63.1% 0.235 309.1);
Tailwind
colors: {
  custom: {
    50: '#ce88f7',
    500: '#b351f2',
    950: '#000000',
  },
}
SCSS
$custom: #b351f2;
$custom-light: #ce88f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b351f2",
  "rgb": {
    "r": 179,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 276.522,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63135,
    "c": 0.23525,
    "h": 309.1
  },
  "luminance": 0.21879
}

Semantic roles & 50–950 ramp

primary
#B351F2
secondary
#C9ECB3
accent
#E3035A
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B351F2

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

Preview Lab → · Contrast checker → · Palette generator →

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