#B348CA#B348CA

#B348CA is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.6% C 0.209 H 320.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B348CA
RGBrgb(179, 72, 202)
HSLhsl(289, 55%, 54%)
HSVhsv(289, 64%, 79%)
CMYKcmyk(11.4%, 64.4%, 0%, 20.8%)
CIE-LABlab(50.08, 61.44, -47.98)
CIE-LCHlch(50.08, 77.96, 322.01°)
OKLaboklab(59.61% 0.1603 -0.134)
OKLCHoklch(59.61% 0.209 320.1)
XYZxyz(31.5671, 18.4842, 57.7707)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B348CA #5FCA48
analogous
#7248CA #B348CA #CA48A0
triadic
#B348CA #CAB348 #48CAB3
tetradic
#B348CA #CA7248 #5FCA48 #48A0CA
square
#B348CA #CA7248 #5FCA48 #48A0CA
split-complementary
#B348CA #A0CA48 #48CA72
monochromatic
#672276 #9030A5 #B348CA #C777D8 #DAA7E5

Accessibility & contrast

On white

4.47
#B348CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#B348CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B348CA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B348CA#FFFFFF#000000##000000
##B348CA1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2270CE
Deuteranopia (green-blind)
#537BC7
Tritanopia (blue-blind)
#B45E83
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b348ca;
/* rgb */ color: rgb(179, 72, 202);
/* oklch */ color: oklch(59.6% 0.209 320.1);
Tailwind
colors: {
  custom: {
    50: '#cd82db',
    500: '#b348ca',
    950: '#000000',
  },
}
SCSS
$custom: #b348ca;
$custom-light: #cd82db;
$custom-dark: #000000;
JSON
{
  "hex": "#b348ca",
  "rgb": {
    "r": 179,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 289.385,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59614,
    "c": 0.20896,
    "h": 320.1
  },
  "luminance": 0.18483
}

Semantic roles & 50–950 ramp

primary
#B348CA
secondary
#A5D39B
accent
#DE4964
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B348CA

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

Preview Lab → · Contrast checker → · Palette generator →

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