#B348FB#B348FB

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

Color values

HEX#B348FB
RGBrgb(179, 72, 251)
HSLhsl(276, 96%, 63%)
HSVhsv(276, 71%, 98%)
CMYKcmyk(28.7%, 71.3%, 0%, 1.6%)
CIE-LABlab(53.15, 71.30, -70.75)
CIE-LCHlch(53.15, 100.45, 315.22°)
OKLaboklab(62.79% 0.1562 -0.2008)
OKLCHoklch(62.79% 0.254 307.9)
XYZxyz(38.3167, 21.1840, 93.3185)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B348FB #90FB48
analogous
#5948FB #B348FB #FB48E9
triadic
#B348FB #FBB348 #48FBB3
tetradic
#B348FB #FB5948 #90FB48 #48E9FB
square
#B348FB #FB5948 #90FB48 #48E9FB
split-complementary
#B348FB #E9FB48 #48FB59
monochromatic
#7704C4 #9A0CFA #B348FB #CC84FC #E5C0FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B348FB#FFFFFF#000000##000000
##B348FB1.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)
#007BFF
Deuteranopia (green-blind)
#0580F7
Tritanopia (blue-blind)
#A7729E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b348fb;
/* rgb */ color: rgb(179, 72, 251);
/* oklch */ color: oklch(62.8% 0.254 307.9);
Tailwind
colors: {
  custom: {
    50: '#cf84fe',
    500: '#b348fb',
    950: '#000000',
  },
}
SCSS
$custom: #b348fb;
$custom-light: #cf84fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b348fb",
  "rgb": {
    "r": 179,
    "g": 72,
    "b": 251
  },
  "hsl": {
    "h": 275.866,
    "s": 95.722,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6279,
    "c": 0.25439,
    "h": 307.9
  },
  "luminance": 0.21183
}

Semantic roles & 50–950 ramp

primary
#B348FB
secondary
#C9EFB0
accent
#E6005C
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #B348FB

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

Preview Lab → · Contrast checker → · Palette generator →

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