#B345CF#B345CF

#B345CF is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.6% C 0.217 H 318.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B345CF
RGBrgb(179, 69, 207)
HSLhsl(288, 59%, 54%)
HSVhsv(288, 67%, 81%)
CMYKcmyk(13.5%, 66.7%, 0%, 18.8%)
CIE-LABlab(49.91, 63.65, -51.12)
CIE-LCHlch(49.91, 81.64, 321.23°)
OKLaboklab(59.59% 0.1636 -0.1431)
OKLCHoklch(59.59% 0.217 318.8)
XYZxyz(31.9795, 18.3464, 60.8761)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345CF #61CF45
analogous
#6E45CF #B345CF #CF45A6
triadic
#B345CF #CFB345 #45CFB3
tetradic
#B345CF #CF6E45 #61CF45 #45A6CF
square
#B345CF #CF6E45 #61CF45 #45A6CF
split-complementary
#B345CF #A6CF45 #45CF6E
monochromatic
#68207A #912CAB #B345CF #C776DC #DBA6E8

Accessibility & contrast

On white

4.50
#B345CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#B345CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B345CF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345CF#FFFFFF#000000##000000
##B345CF1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B6FD3
Deuteranopia (green-blind)
#4D7ACC
Tritanopia (blue-blind)
#B35E85
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b345cf;
/* rgb */ color: rgb(179, 69, 207);
/* oklch */ color: oklch(59.6% 0.217 318.8);
Tailwind
colors: {
  custom: {
    50: '#cd81de',
    500: '#b345cf',
    950: '#000000',
  },
}
SCSS
$custom: #b345cf;
$custom-light: #cd81de;
$custom-dark: #000000;
JSON
{
  "hex": "#b345cf",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 287.826,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59588,
    "c": 0.21737,
    "h": 318.8
  },
  "luminance": 0.18345
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B345CF

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

Preview Lab → · Contrast checker → · Palette generator →

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