#B345CE#B345CE

#B345CE is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.5% C 0.216 H 319.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B345CE
RGBrgb(179, 69, 206)
HSLhsl(288, 58%, 54%)
HSVhsv(288, 67%, 81%)
CMYKcmyk(13.1%, 66.5%, 0%, 19.2%)
CIE-LABlab(49.86, 63.46, -50.64)
CIE-LCHlch(49.86, 81.19, 321.41°)
OKLaboklab(59.53% 0.1636 -0.1417)
OKLCHoklch(59.53% 0.216 319.1)
XYZxyz(31.8576, 18.2976, 60.2343)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345CE #60CE45
analogous
#6F45CE #B345CE #CE45A5
triadic
#B345CE #CEB345 #45CEB3
tetradic
#B345CE #CE6F45 #60CE45 #45A5CE
square
#B345CE #CE6F45 #60CE45 #45A5CE
split-complementary
#B345CE #A5CE45 #45CE6F
monochromatic
#672079 #912DA9 #B345CE #C775DB #DBA6E8

Accessibility & contrast

On white

4.51
#B345CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#B345CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B345CE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345CE#FFFFFF#000000##000000
##B345CE1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F6FD2
Deuteranopia (green-blind)
#4E7ACB
Tritanopia (blue-blind)
#B35E84
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b345ce;
/* rgb */ color: rgb(179, 69, 206);
/* oklch */ color: oklch(59.5% 0.216 319.1);
Tailwind
colors: {
  custom: {
    50: '#cd81dd',
    500: '#b345ce',
    950: '#000000',
  },
}
SCSS
$custom: #b345ce;
$custom-light: #cd81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b345ce",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 288.175,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59528,
    "c": 0.21648,
    "h": 319.1
  },
  "luminance": 0.18296
}

Semantic roles & 50–950 ramp

primary
#B345CE
secondary
#A6D59A
accent
#E24665
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B345CE

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

Preview Lab → · Contrast checker → · Palette generator →

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