#B345DF#B345DF

#B345DF is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.6% C 0.232 H 314.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B345DF
RGBrgb(179, 69, 223)
HSLhsl(283, 71%, 57%)
HSVhsv(283, 69%, 87%)
CMYKcmyk(19.7%, 69.1%, 0%, 12.5%)
CIE-LABlab(50.88, 66.77, -58.69)
CIE-LCHlch(50.88, 88.89, 318.69°)
OKLaboklab(60.59% 0.1626 -0.1653)
OKLCHoklch(60.59% 0.232 314.5)
XYZxyz(34.0356, 19.1688, 71.7048)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345DF #71DF45
analogous
#6645DF #B345DF #DF45BE
triadic
#B345DF #DFB345 #45DFB3
tetradic
#B345DF #DF6645 #71DF45 #45BEDF
square
#B345DF #DF6645 #71DF45 #45BEDF
split-complementary
#B345DF #BEDF45 #45DF66
monochromatic
#6E1991 #9622C5 #B345DF #C879E8 #DEADF1

Accessibility & contrast

On white

4.34
#B345DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#B345DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B345DF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345DF#FFFFFF#000000##000000
##B345DF1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#3E7CDC
Tritanopia (blue-blind)
#AF658D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b345df;
/* rgb */ color: rgb(179, 69, 223);
/* oklch */ color: oklch(60.6% 0.232 314.5);
Tailwind
colors: {
  custom: {
    50: '#ce81ea',
    500: '#b345df',
    950: '#000000',
  },
}
SCSS
$custom: #b345df;
$custom-light: #ce81ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b345df",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 223
  },
  "hsl": {
    "h": 282.857,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60594,
    "c": 0.23188,
    "h": 314.5
  },
  "luminance": 0.19168
}

Semantic roles & 50–950 ramp

primary
#B345DF
secondary
#B3DFA1
accent
#ED3A6E
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B345DF

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

Preview Lab → · Contrast checker → · Palette generator →

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