#B245CE#B245CE

#B245CE is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.4% C 0.216 H 318.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B245CE
RGBrgb(178, 69, 206)
HSLhsl(288, 58%, 54%)
HSVhsv(288, 67%, 81%)
CMYKcmyk(13.6%, 66.5%, 0%, 19.2%)
CIE-LABlab(49.71, 63.24, -50.87)
CIE-LCHlch(49.71, 81.16, 321.18°)
OKLaboklab(59.4% 0.1624 -0.1425)
OKLCHoklch(59.4% 0.216 318.7)
XYZxyz(31.6273, 18.1789, 60.2235)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B245CE #61CE45
analogous
#6E45CE #B245CE #CE45A6
triadic
#B245CE #CEB245 #45CEB2
tetradic
#B245CE #CE6E45 #61CE45 #45A6CE
square
#B245CE #CE6E45 #61CE45 #45A6CE
split-complementary
#B245CE #A6CE45 #45CE6E
monochromatic
#672079 #902DA9 #B245CE #C675DB #DAA6E8

Accessibility & contrast

On white

4.53
#B245CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#B245CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B245CE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B245CE#FFFFFF#000000##000000
##B245CE1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D6FD2
Deuteranopia (green-blind)
#4D7ACB
Tritanopia (blue-blind)
#B25E84
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b245ce;
/* rgb */ color: rgb(178, 69, 206);
/* oklch */ color: oklch(59.4% 0.216 318.7);
Tailwind
colors: {
  custom: {
    50: '#cd81de',
    500: '#b245ce',
    950: '#000000',
  },
}
SCSS
$custom: #b245ce;
$custom-light: #cd81de;
$custom-dark: #000000;
JSON
{
  "hex": "#b245ce",
  "rgb": {
    "r": 178,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 287.737,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59396,
    "c": 0.21605,
    "h": 318.7
  },
  "luminance": 0.18177
}

Semantic roles & 50–950 ramp

primary
#B245CE
secondary
#A6D59A
accent
#E24666
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B245CE

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

Preview Lab → · Contrast checker → · Palette generator →

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