#B348CC#B348CC

#B348CC is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.7% C 0.211 H 319.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B348CC
RGBrgb(179, 72, 204)
HSLhsl(289, 56%, 54%)
HSVhsv(289, 65%, 80%)
CMYKcmyk(12.3%, 64.7%, 0%, 20%)
CIE-LABlab(50.19, 61.82, -48.95)
CIE-LCHlch(50.19, 78.86, 321.63°)
OKLaboklab(59.73% 0.1603 -0.1368)
OKLCHoklch(59.73% 0.211 319.5)
XYZxyz(31.8055, 18.5795, 59.0259)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B348CC #61CC48
analogous
#7148CC #B348CC #CC48A3
triadic
#B348CC #CCB348 #48CCB3
tetradic
#B348CC #CC7148 #61CC48 #48A3CC
square
#B348CC #CC7148 #61CC48 #48A3CC
split-complementary
#B348CC #A3CC48 #48CC71
monochromatic
#682178 #912FA8 #B348CC #C778D9 #DBA8E7

Accessibility & contrast

On white

4.45
#B348CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#B348CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B348CC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B348CC#FFFFFF#000000##000000
##B348CC1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E70D0
Deuteranopia (green-blind)
#527BC9
Tritanopia (blue-blind)
#B35F84
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b348cc;
/* rgb */ color: rgb(179, 72, 204);
/* oklch */ color: oklch(59.7% 0.211 319.5);
Tailwind
colors: {
  custom: {
    50: '#cd82dc',
    500: '#b348cc',
    950: '#000000',
  },
}
SCSS
$custom: #b348cc;
$custom-light: #cd82dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b348cc",
  "rgb": {
    "r": 179,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 288.636,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59733,
    "c": 0.21078,
    "h": 319.5
  },
  "luminance": 0.18578
}

Semantic roles & 50–950 ramp

primary
#B348CC
secondary
#A6D49C
accent
#E04865
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B348CC

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

Preview Lab → · Contrast checker → · Palette generator →

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