#B245DE#B245DE

#B245DE is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.4% C 0.231 H 314.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B245DE
RGBrgb(178, 69, 222)
HSLhsl(283, 70%, 57%)
HSVhsv(283, 69%, 87%)
CMYKcmyk(19.8%, 68.9%, 0%, 12.9%)
CIE-LABlab(50.68, 66.36, -58.45)
CIE-LCHlch(50.68, 88.43, 318.63°)
OKLaboklab(60.4% 0.1615 -0.1646)
OKLCHoklch(60.4% 0.231 314.4)
XYZxyz(33.6708, 18.9963, 70.9861)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B245DE #71DE45
analogous
#6645DE #B245DE #DE45BE
triadic
#B245DE #DEB245 #45DEB2
tetradic
#B245DE #DE6645 #71DE45 #45BEDE
square
#B245DE #DE6645 #71DE45 #45BEDE
split-complementary
#B245DE #BEDE45 #45DE66
monochromatic
#6D198F #9523C3 #B245DE #C879E7 #DDADF0

Accessibility & contrast

On white

4.38
#B245DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B245DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B245DE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B245DE#FFFFFF#000000##000000
##B245DE1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E2
Deuteranopia (green-blind)
#3E7BDB
Tritanopia (blue-blind)
#AE648D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b245de;
/* rgb */ color: rgb(178, 69, 222);
/* oklch */ color: oklch(60.4% 0.231 314.4);
Tailwind
colors: {
  custom: {
    50: '#cd81e9',
    500: '#b245de',
    950: '#000000',
  },
}
SCSS
$custom: #b245de;
$custom-light: #cd81e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b245de",
  "rgb": {
    "r": 178,
    "g": 69,
    "b": 222
  },
  "hsl": {
    "h": 282.745,
    "s": 69.863,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60402,
    "c": 0.23061,
    "h": 314.4
  },
  "luminance": 0.18995
}

Semantic roles & 50–950 ramp

primary
#B245DE
secondary
#B2DFA0
accent
#ED3B6E
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B245DE

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

Preview Lab → · Contrast checker → · Palette generator →

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