#B245D6#B245D6

#B245D6 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.9% C 0.223 H 316.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B245D6
RGBrgb(178, 69, 214)
HSLhsl(285, 64%, 55%)
HSVhsv(285, 68%, 84%)
CMYKcmyk(16.8%, 67.8%, 0%, 16.1%)
CIE-LABlab(50.19, 64.78, -54.69)
CIE-LCHlch(50.19, 84.78, 319.83°)
OKLaboklab(59.89% 0.1621 -0.1536)
OKLCHoklch(59.89% 0.223 316.5)
XYZxyz(32.6240, 18.5775, 65.4726)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B245D6 #69D645
analogous
#6945D6 #B245D6 #D645B2
triadic
#B245D6 #D6B245 #45D6B2
tetradic
#B245D6 #D66945 #69D645 #45B2D6
square
#B245D6 #D66945 #69D645 #45B2D6
split-complementary
#B245D6 #B2D645 #45D669
monochromatic
#6A1D84 #9328B6 #B245D6 #C777E1 #DCA9EC

Accessibility & contrast

On white

4.45
#B245D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#B245D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B245D6
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B245D6#FFFFFF#000000##000000
##B245D61.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DA
Deuteranopia (green-blind)
#467BD3
Tritanopia (blue-blind)
#B06188
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b245d6;
/* rgb */ color: rgb(178, 69, 214);
/* oklch */ color: oklch(59.9% 0.223 316.5);
Tailwind
colors: {
  custom: {
    50: '#cd81e3',
    500: '#b245d6',
    950: '#000000',
  },
}
SCSS
$custom: #b245d6;
$custom-light: #cd81e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b245d6",
  "rgb": {
    "r": 178,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 285.103,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59891,
    "c": 0.2233,
    "h": 316.5
  },
  "luminance": 0.18576
}

Semantic roles & 50–950 ramp

primary
#B245D6
secondary
#ACDA9D
accent
#E7416A
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B15
muted
#837C84

Preview Lab

Preview with #B245D6

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

Preview Lab → · Contrast checker → · Palette generator →

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