#B245CA#B245CA

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

Color values

HEX#B245CA
RGBrgb(178, 69, 202)
HSLhsl(289, 56%, 53%)
HSVhsv(289, 66%, 79%)
CMYKcmyk(11.9%, 65.8%, 0%, 20.8%)
CIE-LABlab(49.48, 62.48, -48.95)
CIE-LCHlch(49.48, 79.37, 321.92°)
OKLaboklab(59.15% 0.1625 -0.1368)
OKLCHoklch(59.15% 0.212 319.9)
XYZxyz(31.1476, 17.9870, 57.6968)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B245CA #5DCA45
analogous
#6F45CA #B245CA #CA459F
triadic
#B245CA #CAB245 #45CAB2
tetradic
#B245CA #CA6F45 #5DCA45 #459FCA
square
#B245CA #CA6F45 #5DCA45 #459FCA
split-complementary
#B245CA #9FCA45 #45CA6F
monochromatic
#652174 #8E2FA3 #B245CA #C675D8 #D9A4E5

Accessibility & contrast

On white

4.57
#B245CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#B245CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B245CA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B245CA#FFFFFF#000000##000000
##B245CA1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#196ECE
Deuteranopia (green-blind)
#5079C7
Tritanopia (blue-blind)
#B35C82
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b245ca;
/* rgb */ color: rgb(178, 69, 202);
/* oklch */ color: oklch(59.2% 0.212 319.9);
Tailwind
colors: {
  custom: {
    50: '#cc81db',
    500: '#b245ca',
    950: '#000000',
  },
}
SCSS
$custom: #b245ca;
$custom-light: #cc81db;
$custom-dark: #000000;
JSON
{
  "hex": "#b245ca",
  "rgb": {
    "r": 178,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 289.173,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59154,
    "c": 0.21245,
    "h": 319.9
  },
  "luminance": 0.17985
}

Semantic roles & 50–950 ramp

primary
#B245CA
secondary
#A3D299
accent
#DF4964
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B245CA

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

Preview Lab → · Contrast checker → · Palette generator →

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