#B351F3#B351F3

#B351F3 is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 63.2% C 0.236 H 308.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B351F3
RGBrgb(179, 81, 243)
HSLhsl(276, 87%, 64%)
HSVhsv(276, 67%, 95%)
CMYKcmyk(26.3%, 66.7%, 0%, 4.7%)
CIE-LABlab(53.96, 65.83, -64.98)
CIE-LCHlch(53.96, 92.50, 315.37°)
OKLaboklab(63.2% 0.1483 -0.1839)
OKLCHoklch(63.2% 0.236 308.9)
XYZxyz(37.7072, 21.9403, 87.0251)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B351F3 #91F351
analogous
#6251F3 #B351F3 #F351E2
triadic
#B351F3 #F3B351 #51F3B3
tetradic
#B351F3 #F36251 #91F351 #51E2F3
square
#B351F3 #F36251 #91F351 #51E2F3
split-complementary
#B351F3 #E2F351 #51F362
monochromatic
#770DBD #9A18EF #B351F3 #CC8AF7 #E5C4FB

Accessibility & contrast

On white

3.90
#B351F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#B351F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B351F3
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B351F3#FFFFFF#000000##000000
##B351F31.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF8
Deuteranopia (green-blind)
#3282EF
Tritanopia (blue-blind)
#AA749C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b351f3;
/* rgb */ color: rgb(179, 81, 243);
/* oklch */ color: oklch(63.2% 0.236 308.9);
Tailwind
colors: {
  custom: {
    50: '#ce88f8',
    500: '#b351f3',
    950: '#000000',
  },
}
SCSS
$custom: #b351f3;
$custom-light: #ce88f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b351f3",
  "rgb": {
    "r": 179,
    "g": 81,
    "b": 243
  },
  "hsl": {
    "h": 276.296,
    "s": 87.097,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63202,
    "c": 0.23623,
    "h": 308.9
  },
  "luminance": 0.2194
}

Semantic roles & 50–950 ramp

primary
#B351F3
secondary
#CAEDB3
accent
#E4025B
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B351F3

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

Preview Lab → · Contrast checker → · Palette generator →

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