#B245CF#B245CF

#B245CF is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.5% C 0.217 H 318.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B245CF
RGBrgb(178, 69, 207)
HSLhsl(287, 59%, 54%)
HSVhsv(287, 67%, 81%)
CMYKcmyk(14%, 66.7%, 0%, 18.8%)
CIE-LABlab(49.77, 63.43, -51.35)
CIE-LCHlch(49.77, 81.61, 321.00°)
OKLaboklab(59.46% 0.1624 -0.1439)
OKLCHoklch(59.46% 0.217 318.5)
XYZxyz(31.7492, 18.2276, 60.8653)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B245CF #62CF45
analogous
#6D45CF #B245CF #CF45A7
triadic
#B245CF #CFB245 #45CFB2
tetradic
#B245CF #CF6D45 #62CF45 #45A7CF
square
#B245CF #CF6D45 #62CF45 #45A7CF
split-complementary
#B245CF #A7CF45 #45CF6D
monochromatic
#67207A #902CAB #B245CF #C676DC #DAA6E8

Accessibility & contrast

On white

4.52
#B245CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#B245CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B245CF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B245CF#FFFFFF#000000##000000
##B245CF1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#096FD3
Deuteranopia (green-blind)
#4C7ACC
Tritanopia (blue-blind)
#B25E85
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b245cf;
/* rgb */ color: rgb(178, 69, 207);
/* oklch */ color: oklch(59.5% 0.217 318.5);
Tailwind
colors: {
  custom: {
    50: '#cd81de',
    500: '#b245cf',
    950: '#000000',
  },
}
SCSS
$custom: #b245cf;
$custom-light: #cd81de;
$custom-dark: #000000;
JSON
{
  "hex": "#b245cf",
  "rgb": {
    "r": 178,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 287.391,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59457,
    "c": 0.21695,
    "h": 318.5
  },
  "luminance": 0.18226
}

Semantic roles & 50–950 ramp

primary
#B245CF
secondary
#A7D59B
accent
#E24667
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B245CF

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

Preview Lab → · Contrast checker → · Palette generator →

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