#B245CB#B245CB

#B245CB is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.2% C 0.213 H 319.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B245CB
RGBrgb(178, 69, 203)
HSLhsl(289, 56%, 53%)
HSVhsv(289, 66%, 80%)
CMYKcmyk(12.3%, 66%, 0%, 20.4%)
CIE-LABlab(49.54, 62.67, -49.43)
CIE-LCHlch(49.54, 79.81, 321.73°)
OKLaboklab(59.21% 0.1625 -0.1382)
OKLCHoklch(59.21% 0.213 319.6)
XYZxyz(31.2663, 18.0345, 58.3224)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B245CB #5ECB45
analogous
#6F45CB #B245CB #CB45A1
triadic
#B245CB #CBB245 #45CBB2
tetradic
#B245CB #CB6F45 #5ECB45 #45A1CB
square
#B245CB #CB6F45 #5ECB45 #45A1CB
split-complementary
#B245CB #A1CB45 #45CB6F
monochromatic
#652175 #8F2EA5 #B245CB #C675D8 #DAA5E6

Accessibility & contrast

On white

4.56
#B245CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#B245CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B245CB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B245CB#FFFFFF#000000##000000
##B245CB1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#166ECF
Deuteranopia (green-blind)
#4F7AC8
Tritanopia (blue-blind)
#B25D82
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b245cb;
/* rgb */ color: rgb(178, 69, 203);
/* oklch */ color: oklch(59.2% 0.213 319.6);
Tailwind
colors: {
  custom: {
    50: '#cc81db',
    500: '#b245cb',
    950: '#000000',
  },
}
SCSS
$custom: #b245cb;
$custom-light: #cc81db;
$custom-dark: #000000;
JSON
{
  "hex": "#b245cb",
  "rgb": {
    "r": 178,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 288.806,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59214,
    "c": 0.21335,
    "h": 319.6
  },
  "luminance": 0.18033
}

Semantic roles & 50–950 ramp

primary
#B245CB
secondary
#A4D399
accent
#E04864
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B245CB

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

Preview Lab → · Contrast checker → · Palette generator →

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