#B245CD#B245CD

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

Color values

HEX#B245CD
RGBrgb(178, 69, 205)
HSLhsl(288, 58%, 54%)
HSVhsv(288, 66%, 80%)
CMYKcmyk(13.2%, 66.3%, 0%, 19.6%)
CIE-LABlab(49.65, 63.05, -50.39)
CIE-LCHlch(49.65, 80.71, 321.36°)
OKLaboklab(59.34% 0.1625 -0.141)
OKLCHoklch(59.34% 0.215 319)
XYZxyz(31.5062, 18.1304, 59.5857)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B245CD #60CD45
analogous
#6E45CD #B245CD #CD45A4
triadic
#B245CD #CDB245 #45CDB2
tetradic
#B245CD #CD6E45 #60CD45 #45A4CD
square
#B245CD #CD6E45 #60CD45 #45A4CD
split-complementary
#B245CD #A4CD45 #45CD6E
monochromatic
#662077 #8F2DA8 #B245CD #C675DA #DAA5E7

Accessibility & contrast

On white

4.54
#B245CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#B245CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B245CD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B245CD#FFFFFF#000000##000000
##B245CD1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#106FD1
Deuteranopia (green-blind)
#4E7ACA
Tritanopia (blue-blind)
#B25D83
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b245cd;
/* rgb */ color: rgb(178, 69, 205);
/* oklch */ color: oklch(59.3% 0.215 319.0);
Tailwind
colors: {
  custom: {
    50: '#cd81dd',
    500: '#b245cd',
    950: '#000000',
  },
}
SCSS
$custom: #b245cd;
$custom-light: #cd81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b245cd",
  "rgb": {
    "r": 178,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 288.088,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59335,
    "c": 0.21515,
    "h": 319
  },
  "luminance": 0.18129
}

Semantic roles & 50–950 ramp

primary
#B245CD
secondary
#A5D49A
accent
#E14765
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B245CD

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

Preview Lab → · Contrast checker → · Palette generator →

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