#B248E5#B248E5

#B248E5 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.2% C 0.234 H 312.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B248E5
RGBrgb(178, 72, 229)
HSLhsl(281, 75%, 59%)
HSVhsv(281, 69%, 90%)
CMYKcmyk(22.3%, 68.6%, 0%, 10.2%)
CIE-LABlab(51.56, 66.54, -61.00)
CIE-LCHlch(51.56, 90.27, 317.49°)
OKLaboklab(61.17% 0.1578 -0.1721)
OKLCHoklch(61.17% 0.234 312.5)
XYZxyz(34.8178, 19.7578, 76.0931)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248E5 #7BE548
analogous
#6448E5 #B248E5 #E548C9
triadic
#B248E5 #E5B248 #48E5B2
tetradic
#B248E5 #E56448 #7BE548 #48C9E5
square
#B248E5 #E56448 #7BE548 #48C9E5
split-complementary
#B248E5 #C9E548 #48E564
monochromatic
#71169C #971ED2 #B248E5 #C97EED #DFB3F4

Accessibility & contrast

On white

4.24
#B248E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#B248E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B248E5
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248E5#FFFFFF#000000##000000
##B248E51.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EA
Deuteranopia (green-blind)
#397DE1
Tritanopia (blue-blind)
#AC6991
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b248e5;
/* rgb */ color: rgb(178, 72, 229);
/* oklch */ color: oklch(61.2% 0.234 312.5);
Tailwind
colors: {
  custom: {
    50: '#cd83ee',
    500: '#b248e5',
    950: '#000000',
  },
}
SCSS
$custom: #b248e5;
$custom-light: #cd83ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b248e5",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 280.51,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61171,
    "c": 0.2335,
    "h": 312.5
  },
  "luminance": 0.19757
}

Semantic roles & 50–950 ramp

primary
#B248E5
secondary
#BAE3A6
accent
#F23673
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B248E5

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

Preview Lab → · Contrast checker → · Palette generator →

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