#B245CC#B245CC

#B245CC is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.3% C 0.214 H 319.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B245CC
RGBrgb(178, 69, 204)
HSLhsl(288, 57%, 54%)
HSVhsv(288, 66%, 80%)
CMYKcmyk(12.7%, 66.2%, 0%, 20%)
CIE-LABlab(49.60, 62.86, -49.91)
CIE-LCHlch(49.60, 80.26, 321.55°)
OKLaboklab(59.27% 0.1625 -0.1396)
OKLCHoklch(59.27% 0.214 319.3)
XYZxyz(31.3859, 18.0823, 58.9520)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B245CC #5FCC45
analogous
#6E45CC #B245CC #CC45A3
triadic
#B245CC #CCB245 #45CCB2
tetradic
#B245CC #CC6E45 #5FCC45 #45A3CC
square
#B245CC #CC6E45 #5FCC45 #45A3CC
split-complementary
#B245CC #A3CC45 #45CC6E
monochromatic
#662076 #8F2EA6 #B245CC #C675D9 #DAA5E6

Accessibility & contrast

On white

4.55
#B245CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#B245CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B245CC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B245CC#FFFFFF#000000##000000
##B245CC1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#136FD0
Deuteranopia (green-blind)
#4E7AC9
Tritanopia (blue-blind)
#B25D83
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b245cc;
/* rgb */ color: rgb(178, 69, 204);
/* oklch */ color: oklch(59.3% 0.214 319.3);
Tailwind
colors: {
  custom: {
    50: '#cd81dc',
    500: '#b245cc',
    950: '#000000',
  },
}
SCSS
$custom: #b245cc;
$custom-light: #cd81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b245cc",
  "rgb": {
    "r": 178,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 288.444,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59274,
    "c": 0.21425,
    "h": 319.3
  },
  "luminance": 0.18081
}

Semantic roles & 50–950 ramp

primary
#B245CC
secondary
#A5D399
accent
#E04865
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B245CC

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

Preview Lab → · Contrast checker → · Palette generator →

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