#B245D0#B245D0

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

Color values

HEX#B245D0
RGBrgb(178, 69, 208)
HSLhsl(287, 60%, 54%)
HSVhsv(287, 67%, 82%)
CMYKcmyk(14.4%, 66.8%, 0%, 18.4%)
CIE-LABlab(49.83, 63.62, -51.83)
CIE-LCHlch(49.83, 82.06, 320.83°)
OKLaboklab(59.52% 0.1624 -0.1453)
OKLCHoklch(59.52% 0.218 318.2)
XYZxyz(31.8718, 18.2767, 61.5112)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B245D0 #63D045
analogous
#6C45D0 #B245D0 #D045A9
triadic
#B245D0 #D0B245 #45D0B2
tetradic
#B245D0 #D06C45 #63D045 #45A9D0
square
#B245D0 #D06C45 #63D045 #45A9D0
split-complementary
#B245D0 #A9D045 #45D06C
monochromatic
#681F7B #902CAC #B245D0 #C676DC #DAA7E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B245D0#FFFFFF#000000##000000
##B245D01.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)
#046FD4
Deuteranopia (green-blind)
#4B7ACD
Tritanopia (blue-blind)
#B15F85
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b245d0;
/* rgb */ color: rgb(178, 69, 208);
/* oklch */ color: oklch(59.5% 0.218 318.2);
Tailwind
colors: {
  custom: {
    50: '#cd81df',
    500: '#b245d0',
    950: '#000000',
  },
}
SCSS
$custom: #b245d0;
$custom-light: #cd81df;
$custom-dark: #000000;
JSON
{
  "hex": "#b245d0",
  "rgb": {
    "r": 178,
    "g": 69,
    "b": 208
  },
  "hsl": {
    "h": 287.05,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59518,
    "c": 0.21786,
    "h": 318.2
  },
  "luminance": 0.18275
}

Semantic roles & 50–950 ramp

primary
#B245D0
secondary
#A8D69B
accent
#E34567
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B245D0

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

Preview Lab → · Contrast checker → · Palette generator →

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