#B245D5#B245D5

#B245D5 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.8% C 0.222 H 316.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B245D5
RGBrgb(178, 69, 213)
HSLhsl(285, 63%, 55%)
HSVhsv(285, 68%, 84%)
CMYKcmyk(16.4%, 67.6%, 0%, 16.5%)
CIE-LABlab(50.13, 64.59, -54.22)
CIE-LCHlch(50.13, 84.33, 319.99°)
OKLaboklab(59.83% 0.1621 -0.1522)
OKLCHoklch(59.83% 0.222 316.8)
XYZxyz(32.4967, 18.5266, 64.8021)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B245D5 #68D545
analogous
#6A45D5 #B245D5 #D545B0
triadic
#B245D5 #D5B245 #45D5B2
tetradic
#B245D5 #D56A45 #68D545 #45B0D5
square
#B245D5 #D56A45 #68D545 #45B0D5
split-complementary
#B245D5 #B0D545 #45D56A
monochromatic
#6A1D82 #9229B4 #B245D5 #C777E0 #DBA9EC

Accessibility & contrast

On white

4.46
#B245D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#B245D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B245D5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B245D5#FFFFFF#000000##000000
##B245D51.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#477AD2
Tritanopia (blue-blind)
#B06188
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b245d5;
/* rgb */ color: rgb(178, 69, 213);
/* oklch */ color: oklch(59.8% 0.222 316.8);
Tailwind
colors: {
  custom: {
    50: '#cd81e3',
    500: '#b245d5',
    950: '#000000',
  },
}
SCSS
$custom: #b245d5;
$custom-light: #cd81e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b245d5",
  "rgb": {
    "r": 178,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 285.417,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59828,
    "c": 0.2224,
    "h": 316.8
  },
  "luminance": 0.18525
}

Semantic roles & 50–950 ramp

primary
#B245D5
secondary
#ABD99D
accent
#E6426A
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B245D5

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

Preview Lab → · Contrast checker → · Palette generator →

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