#B248DE#B248DE

#B248DE is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.7% C 0.227 H 314.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B248DE
RGBrgb(178, 72, 222)
HSLhsl(282, 69%, 58%)
HSVhsv(282, 68%, 87%)
CMYKcmyk(19.8%, 67.6%, 0%, 12.9%)
CIE-LABlab(51.12, 65.13, -57.74)
CIE-LCHlch(51.12, 87.04, 318.44°)
OKLaboklab(60.72% 0.1584 -0.1626)
OKLCHoklch(60.72% 0.227 314.2)
XYZxyz(33.8601, 19.3747, 71.0491)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248DE #74DE48
analogous
#6748DE #B248DE #DE48BF
triadic
#B248DE #DEB248 #48DEB2
tetradic
#B248DE #DE6748 #74DE48 #48BFDE
square
#B248DE #DE6748 #74DE48 #48BFDE
split-complementary
#B248DE #BFDE48 #48DE67
monochromatic
#6E1A91 #9624C5 #B248DE #C87CE7 #DEB0F1

Accessibility & contrast

On white

4.31
#B248DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B248DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B248DE
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248DE#FFFFFF#000000##000000
##B248DE1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#417CDB
Tritanopia (blue-blind)
#AE668E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b248de;
/* rgb */ color: rgb(178, 72, 222);
/* oklch */ color: oklch(60.7% 0.227 314.2);
Tailwind
colors: {
  custom: {
    50: '#cd83e9',
    500: '#b248de',
    950: '#000000',
  },
}
SCSS
$custom: #b248de;
$custom-light: #cd83e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b248de",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 222
  },
  "hsl": {
    "h": 282.4,
    "s": 69.444,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60717,
    "c": 0.22697,
    "h": 314.2
  },
  "luminance": 0.19374
}

Semantic roles & 50–950 ramp

primary
#B248DE
secondary
#B4DFA3
accent
#EC3C6F
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B248DE

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

Preview Lab → · Contrast checker → · Palette generator →

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