#B248CE#B248CE

#B248CE is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.7% C 0.212 H 318.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B248CE
RGBrgb(178, 72, 206)
HSLhsl(287, 58%, 55%)
HSVhsv(287, 65%, 81%)
CMYKcmyk(13.6%, 65%, 0%, 19.2%)
CIE-LABlab(50.17, 61.97, -50.15)
CIE-LCHlch(50.17, 79.72, 321.02°)
OKLaboklab(59.72% 0.1591 -0.1404)
OKLCHoklch(59.72% 0.212 318.6)
XYZxyz(31.8165, 18.5573, 60.2865)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248CE #64CE48
analogous
#6F48CE #B248CE #CE48A7
triadic
#B248CE #CEB248 #48CEB2
tetradic
#B248CE #CE6F48 #64CE48 #48A7CE
square
#B248CE #CE6F48 #64CE48 #48A7CE
split-complementary
#B248CE #A7CE48 #48CE6F
monochromatic
#68217B #912EAB #B248CE #C678DB #DBA9E8

Accessibility & contrast

On white

4.46
#B248CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#B248CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B248CE
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248CE#FFFFFF#000000##000000
##B248CE1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1970D2
Deuteranopia (green-blind)
#4F7BCB
Tritanopia (blue-blind)
#B26085
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b248ce;
/* rgb */ color: rgb(178, 72, 206);
/* oklch */ color: oklch(59.7% 0.212 318.6);
Tailwind
colors: {
  custom: {
    50: '#cc82dd',
    500: '#b248ce',
    950: '#000000',
  },
}
SCSS
$custom: #b248ce;
$custom-light: #cc82dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b248ce",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 287.463,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59722,
    "c": 0.21217,
    "h": 318.6
  },
  "luminance": 0.18556
}

Semantic roles & 50–950 ramp

primary
#B248CE
secondary
#A8D59D
accent
#E14767
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B248CE

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

Preview Lab → · Contrast checker → · Palette generator →

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