#B248E0#B248E0

#B248E0 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.8% C 0.229 H 313.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B248E0
RGBrgb(178, 72, 224)
HSLhsl(282, 71%, 58%)
HSVhsv(282, 68%, 88%)
CMYKcmyk(20.5%, 67.9%, 0%, 12.2%)
CIE-LABlab(51.25, 65.53, -58.68)
CIE-LCHlch(51.25, 87.96, 318.16°)
OKLaboklab(60.85% 0.1582 -0.1653)
OKLCHoklch(60.85% 0.229 313.7)
XYZxyz(34.1297, 19.4826, 72.4692)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248E0 #76E048
analogous
#6648E0 #B248E0 #E048C2
triadic
#B248E0 #E0B248 #48E0B2
tetradic
#B248E0 #E06648 #76E048 #48C2E0
square
#B248E0 #E06648 #76E048 #48C2E0
split-complementary
#B248E0 #C2E048 #48E066
monochromatic
#6F1994 #9622C9 #B248E0 #C87CE9 #DEB1F2

Accessibility & contrast

On white

4.29
#B248E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#B248E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B248E0
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248E0#FFFFFF#000000##000000
##B248E01.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E4
Deuteranopia (green-blind)
#3F7DDD
Tritanopia (blue-blind)
#AE678F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b248e0;
/* rgb */ color: rgb(178, 72, 224);
/* oklch */ color: oklch(60.8% 0.229 313.7);
Tailwind
colors: {
  custom: {
    50: '#cd83ea',
    500: '#b248e0',
    950: '#000000',
  },
}
SCSS
$custom: #b248e0;
$custom-light: #cd83ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b248e0",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 224
  },
  "hsl": {
    "h": 281.842,
    "s": 71.028,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60845,
    "c": 0.22883,
    "h": 313.7
  },
  "luminance": 0.19482
}

Semantic roles & 50–950 ramp

primary
#B248E0
secondary
#B6E0A4
accent
#EE3A70
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B248E0

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

Preview Lab → · Contrast checker → · Palette generator →

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