#B245C7#B245C7

#B245C7 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.0% C 0.210 H 320.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B245C7
RGBrgb(178, 69, 199)
HSLhsl(290, 54%, 53%)
HSVhsv(290, 65%, 78%)
CMYKcmyk(10.6%, 65.3%, 0%, 22%)
CIE-LABlab(49.31, 61.91, -47.49)
CIE-LCHlch(49.31, 78.03, 322.51°)
OKLaboklab(58.98% 0.1626 -0.1326)
OKLCHoklch(58.98% 0.21 320.8)
XYZxyz(30.7958, 17.8463, 55.8443)
Luminance0.1784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B245C7 #5AC745
analogous
#7145C7 #B245C7 #C7459B
triadic
#B245C7 #C7B245 #45C7B2
tetradic
#B245C7 #C77145 #5AC745 #459BC7
square
#B245C7 #C77145 #5AC745 #459BC7
split-complementary
#B245C7 #9BC745 #45C771
monochromatic
#632270 #8D309F #B245C7 #C574D5 #D9A3E3

Accessibility & contrast

On white

4.60
#B245C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#B245C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B245C7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B245C7#FFFFFF#000000##FFFFFF
##B245C71.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6ECB
Deuteranopia (green-blind)
#5279C4
Tritanopia (blue-blind)
#B35B80
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b245c7;
/* rgb */ color: rgb(178, 69, 199);
/* oklch */ color: oklch(59.0% 0.210 320.8);
Tailwind
colors: {
  custom: {
    50: '#cc80d8',
    500: '#b245c7',
    950: '#000000',
  },
}
SCSS
$custom: #b245c7;
$custom-light: #cc80d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b245c7",
  "rgb": {
    "r": 178,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 290.308,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58976,
    "c": 0.20977,
    "h": 320.8
  },
  "luminance": 0.17845
}

Semantic roles & 50–950 ramp

primary
#B245C7
secondary
#A1D098
accent
#DD4B62
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B245C7

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

Preview Lab → · Contrast checker → · Palette generator →

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