#B245D1#B245D1

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

Color values

HEX#B245D1
RGBrgb(178, 69, 209)
HSLhsl(287, 60%, 55%)
HSVhsv(287, 67%, 82%)
CMYKcmyk(14.8%, 67%, 0%, 18%)
CIE-LABlab(49.89, 63.81, -52.31)
CIE-LCHlch(49.89, 82.51, 320.66°)
OKLaboklab(59.58% 0.1623 -0.1467)
OKLCHoklch(59.58% 0.219 317.9)
XYZxyz(31.9952, 18.3260, 62.1612)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B245D1 #64D145
analogous
#6C45D1 #B245D1 #D145AA
triadic
#B245D1 #D1B245 #45D1B2
tetradic
#B245D1 #D16C45 #64D145 #45AAD1
square
#B245D1 #D16C45 #64D145 #45AAD1
split-complementary
#B245D1 #AAD145 #45D16C
monochromatic
#681F7D #912BAE #B245D1 #C676DD #DBA7E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B245D1#FFFFFF#000000##000000
##B245D11.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)
#0070D5
Deuteranopia (green-blind)
#4A7ACE
Tritanopia (blue-blind)
#B15F86
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b245d1;
/* rgb */ color: rgb(178, 69, 209);
/* oklch */ color: oklch(59.6% 0.219 317.9);
Tailwind
colors: {
  custom: {
    50: '#cd81e0',
    500: '#b245d1',
    950: '#000000',
  },
}
SCSS
$custom: #b245d1;
$custom-light: #cd81e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b245d1",
  "rgb": {
    "r": 178,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 286.714,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5958,
    "c": 0.21876,
    "h": 317.9
  },
  "luminance": 0.18325
}

Semantic roles & 50–950 ramp

primary
#B245D1
secondary
#A8D79B
accent
#E34468
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B245D1

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

Preview Lab → · Contrast checker → · Palette generator →

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