#B245DA#B245DA

#B245DA is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.1% C 0.227 H 315.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B245DA
RGBrgb(178, 69, 218)
HSLhsl(284, 67%, 56%)
HSVhsv(284, 68%, 85%)
CMYKcmyk(18.3%, 68.3%, 0%, 14.5%)
CIE-LABlab(50.43, 65.57, -56.58)
CIE-LCHlch(50.43, 86.60, 319.21°)
OKLaboklab(60.15% 0.1618 -0.1592)
OKLCHoklch(60.15% 0.227 315.5)
XYZxyz(33.1411, 18.7844, 68.1961)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B245DA #6DDA45
analogous
#6845DA #B245DA #DA45B7
triadic
#B245DA #DAB245 #45DAB2
tetradic
#B245DA #DA6845 #6DDA45 #45B7DA
square
#B245DA #DA6845 #6DDA45 #45B7DA
split-complementary
#B245DA #B7DA45 #45DA68
monochromatic
#6C1B89 #9425BC #B245DA #C778E4 #DCABEE

Accessibility & contrast

On white

4.41
#B245DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#B245DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B245DA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B245DA#FFFFFF#000000##000000
##B245DA1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#427BD7
Tritanopia (blue-blind)
#AF638B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b245da;
/* rgb */ color: rgb(178, 69, 218);
/* oklch */ color: oklch(60.1% 0.227 315.5);
Tailwind
colors: {
  custom: {
    50: '#cd81e6',
    500: '#b245da',
    950: '#000000',
  },
}
SCSS
$custom: #b245da;
$custom-light: #cd81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b245da",
  "rgb": {
    "r": 178,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 283.893,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60145,
    "c": 0.22695,
    "h": 315.5
  },
  "luminance": 0.18783
}

Semantic roles & 50–950 ramp

primary
#B245DA
secondary
#AFDC9F
accent
#EA3E6C
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B245DA

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

Preview Lab → · Contrast checker → · Palette generator →

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