#B245C6#B245C6

#B245C6 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 58.9% C 0.209 H 321.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B245C6
RGBrgb(178, 69, 198)
HSLhsl(291, 53%, 52%)
HSVhsv(291, 65%, 78%)
CMYKcmyk(10.1%, 65.2%, 0%, 22.4%)
CIE-LABlab(49.25, 61.72, -47.00)
CIE-LCHlch(49.25, 77.58, 322.71°)
OKLaboklab(58.92% 0.1626 -0.1311)
OKLCHoklch(58.92% 0.209 321.1)
XYZxyz(30.6801, 17.8000, 55.2348)
Luminance0.1780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B245C6 #59C645
analogous
#7245C6 #B245C6 #C64599
triadic
#B245C6 #C6B245 #45C6B2
tetradic
#B245C6 #C67245 #59C645 #4599C6
square
#B245C6 #C67245 #59C645 #4599C6
split-complementary
#B245C6 #99C645 #45C672
monochromatic
#63226F #8D309E #B245C6 #C574D4 #D9A3E3

Accessibility & contrast

On white

4.61
#B245C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#B245C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B245C6
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B245C6#FFFFFF#000000##FFFFFF
##B245C61.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206DCA
Deuteranopia (green-blind)
#5379C3
Tritanopia (blue-blind)
#B35B80
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b245c6;
/* rgb */ color: rgb(178, 69, 198);
/* oklch */ color: oklch(58.9% 0.209 321.1);
Tailwind
colors: {
  custom: {
    50: '#cc80d8',
    500: '#b245c6',
    950: '#000000',
  },
}
SCSS
$custom: #b245c6;
$custom-light: #cc80d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b245c6",
  "rgb": {
    "r": 178,
    "g": 69,
    "b": 198
  },
  "hsl": {
    "h": 290.698,
    "s": 53.086,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58917,
    "c": 0.20888,
    "h": 321.1
  },
  "luminance": 0.17798
}

Semantic roles & 50–950 ramp

primary
#B245C6
secondary
#A0CF97
accent
#DC4B62
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B245C6

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

Preview Lab → · Contrast checker → · Palette generator →

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