#B248D9#B248D9

#B248D9 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.4% C 0.222 H 315.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B248D9
RGBrgb(178, 72, 217)
HSLhsl(284, 66%, 57%)
HSVhsv(284, 67%, 85%)
CMYKcmyk(18%, 66.8%, 0%, 14.9%)
CIE-LABlab(50.82, 64.13, -55.39)
CIE-LCHlch(50.82, 84.74, 319.18°)
OKLaboklab(60.4% 0.1587 -0.1557)
OKLCHoklch(60.4% 0.222 315.5)
XYZxyz(33.1999, 19.1107, 67.5721)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248D9 #6FD948
analogous
#6A48D9 #B248D9 #D948B8
triadic
#B248D9 #D9B248 #48D9B2
tetradic
#B248D9 #D96A48 #6FD948 #48B8D9
square
#B248D9 #D96A48 #6FD948 #48B8D9
split-complementary
#B248D9 #B8D948 #48D96A
monochromatic
#6D1D8A #9427BD #B248D9 #C77BE4 #DDADEE

Accessibility & contrast

On white

4.36
#B248D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#B248D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B248D9
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248D9#FFFFFF#000000##000000
##B248D91.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DD
Deuteranopia (green-blind)
#467CD6
Tritanopia (blue-blind)
#AF648B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b248d9;
/* rgb */ color: rgb(178, 72, 217);
/* oklch */ color: oklch(60.4% 0.222 315.5);
Tailwind
colors: {
  custom: {
    50: '#cd83e5',
    500: '#b248d9',
    950: '#000000',
  },
}
SCSS
$custom: #b248d9;
$custom-light: #cd83e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b248d9",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 283.862,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60399,
    "c": 0.22232,
    "h": 315.5
  },
  "luminance": 0.19109
}

Semantic roles & 50–950 ramp

primary
#B248D9
secondary
#B1DCA1
accent
#E93F6D
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B248D9

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

Preview Lab → · Contrast checker → · Palette generator →

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