#B348DF#B348DF

#B348DF is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.9% C 0.228 H 314.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B348DF
RGBrgb(179, 72, 223)
HSLhsl(283, 70%, 58%)
HSVhsv(283, 68%, 87%)
CMYKcmyk(19.7%, 67.7%, 0%, 12.5%)
CIE-LABlab(51.32, 65.54, -57.98)
CIE-LCHlch(51.32, 87.51, 318.50°)
OKLaboklab(60.91% 0.1595 -0.1633)
OKLCHoklch(60.91% 0.228 314.3)
XYZxyz(34.2248, 19.5473, 71.7679)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B348DF #74DF48
analogous
#6848DF #B348DF #DF48BF
triadic
#B348DF #DFB348 #48DFB3
tetradic
#B348DF #DF6848 #74DF48 #48BFDF
square
#B348DF #DF6848 #74DF48 #48BFDF
split-complementary
#B348DF #BFDF48 #48DF68
monochromatic
#701A93 #9723C7 #B348DF #C97CE8 #DEB0F1

Accessibility & contrast

On white

4.28
#B348DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#B348DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B348DF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B348DF#FFFFFF#000000##000000
##B348DF1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#417DDC
Tritanopia (blue-blind)
#AF668E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b348df;
/* rgb */ color: rgb(179, 72, 223);
/* oklch */ color: oklch(60.9% 0.228 314.3);
Tailwind
colors: {
  custom: {
    50: '#ce83ea',
    500: '#b348df',
    950: '#000000',
  },
}
SCSS
$custom: #b348df;
$custom-light: #ce83ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b348df",
  "rgb": {
    "r": 179,
    "g": 72,
    "b": 223
  },
  "hsl": {
    "h": 282.517,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60907,
    "c": 0.22825,
    "h": 314.3
  },
  "luminance": 0.19546
}

Semantic roles & 50–950 ramp

primary
#B348DF
secondary
#B5E0A3
accent
#ED3B6F
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B348DF

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

Preview Lab → · Contrast checker → · Palette generator →

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