#B245E6#B245E6

#B245E6 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.9% C 0.238 H 312.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B245E6
RGBrgb(178, 69, 230)
HSLhsl(281, 76%, 59%)
HSVhsv(281, 70%, 90%)
CMYKcmyk(22.6%, 70%, 0%, 9.8%)
CIE-LABlab(51.19, 67.97, -62.16)
CIE-LCHlch(51.19, 92.10, 317.56°)
OKLaboklab(60.93% 0.1607 -0.1755)
OKLCHoklch(60.93% 0.238 312.5)
XYZxyz(34.7686, 19.4354, 76.7674)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B245E6 #79E645
analogous
#6145E6 #B245E6 #E645C9
triadic
#B245E6 #E6B245 #45E6B2
tetradic
#B245E6 #E66145 #79E645 #45C9E6
square
#B245E6 #E66145 #79E645 #45C9E6
split-complementary
#B245E6 #C9E645 #45E661
monochromatic
#70159C #971CD2 #B245E6 #C87BED #DFB1F5

Accessibility & contrast

On white

4.30
#B245E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#B245E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B245E6
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B245E6#FFFFFF#000000##000000
##B245E61.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EB
Deuteranopia (green-blind)
#347CE2
Tritanopia (blue-blind)
#AC6891
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b245e6;
/* rgb */ color: rgb(178, 69, 230);
/* oklch */ color: oklch(60.9% 0.238 312.5);
Tailwind
colors: {
  custom: {
    50: '#ce82ef',
    500: '#b245e6',
    950: '#000000',
  },
}
SCSS
$custom: #b245e6;
$custom-light: #ce82ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b245e6",
  "rgb": {
    "r": 178,
    "g": 69,
    "b": 230
  },
  "hsl": {
    "h": 280.621,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60928,
    "c": 0.23795,
    "h": 312.5
  },
  "luminance": 0.19434
}

Semantic roles & 50–950 ramp

primary
#B245E6
secondary
#B8E3A4
accent
#F33572
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B245E6

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

Preview Lab → · Contrast checker → · Palette generator →

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