#B245D2#B245D2

#B245D2 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.6% C 0.220 H 317.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B245D2
RGBrgb(178, 69, 210)
HSLhsl(286, 61%, 55%)
HSVhsv(286, 67%, 82%)
CMYKcmyk(15.2%, 67.1%, 0%, 17.6%)
CIE-LABlab(49.95, 64.01, -52.79)
CIE-LCHlch(49.95, 82.97, 320.49°)
OKLaboklab(59.64% 0.1623 -0.1481)
OKLCHoklch(59.64% 0.22 317.6)
XYZxyz(32.1194, 18.3757, 62.8152)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B245D2 #65D245
analogous
#6C45D2 #B245D2 #D245AC
triadic
#B245D2 #D2B245 #45D2B2
tetradic
#B245D2 #D26C45 #65D245 #45ACD2
square
#B245D2 #D26C45 #65D245 #45ACD2
split-complementary
#B245D2 #ACD245 #45D26C
monochromatic
#681F7E #912AAF #B245D2 #C676DE #DBA8EA

Accessibility & contrast

On white

4.49
#B245D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#B245D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B245D2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B245D2#FFFFFF#000000##000000
##B245D21.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#4A7ACF
Tritanopia (blue-blind)
#B15F86
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b245d2;
/* rgb */ color: rgb(178, 69, 210);
/* oklch */ color: oklch(59.6% 0.220 317.6);
Tailwind
colors: {
  custom: {
    50: '#cd81e0',
    500: '#b245d2',
    950: '#000000',
  },
}
SCSS
$custom: #b245d2;
$custom-light: #cd81e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b245d2",
  "rgb": {
    "r": 178,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 286.383,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59641,
    "c": 0.21967,
    "h": 317.6
  },
  "luminance": 0.18374
}

Semantic roles & 50–950 ramp

primary
#B245D2
secondary
#A9D79C
accent
#E44468
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B245D2

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

Preview Lab → · Contrast checker → · Palette generator →

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