#B248CA#B248CA

#B248CA is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.5% C 0.209 H 319.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B248CA
RGBrgb(178, 72, 202)
HSLhsl(289, 55%, 54%)
HSVhsv(289, 64%, 79%)
CMYKcmyk(11.9%, 64.4%, 0%, 20.8%)
CIE-LABlab(49.94, 61.21, -48.22)
CIE-LCHlch(49.94, 77.92, 321.77°)
OKLaboklab(59.48% 0.1592 -0.1347)
OKLCHoklch(59.48% 0.209 319.8)
XYZxyz(31.3368, 18.3654, 57.7599)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248CA #60CA48
analogous
#7148CA #B248CA #CA48A1
triadic
#B248CA #CAB248 #48CAB2
tetradic
#B248CA #CA7148 #60CA48 #48A1CA
square
#B248CA #CA7148 #60CA48 #48A1CA
split-complementary
#B248CA #A1CA48 #48CA71
monochromatic
#662276 #8F30A5 #B248CA #C677D8 #DAA7E5

Accessibility & contrast

On white

4.49
#B248CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#B248CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B248CA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248CA#FFFFFF#000000##000000
##B248CA1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2170CE
Deuteranopia (green-blind)
#527AC7
Tritanopia (blue-blind)
#B35E83
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b248ca;
/* rgb */ color: rgb(178, 72, 202);
/* oklch */ color: oklch(59.5% 0.209 319.8);
Tailwind
colors: {
  custom: {
    50: '#cc82db',
    500: '#b248ca',
    950: '#000000',
  },
}
SCSS
$custom: #b248ca;
$custom-light: #cc82db;
$custom-dark: #000000;
JSON
{
  "hex": "#b248ca",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 288.923,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59483,
    "c": 0.20851,
    "h": 319.8
  },
  "luminance": 0.18364
}

Semantic roles & 50–950 ramp

primary
#B248CA
secondary
#A5D39B
accent
#DE4965
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B248CA

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

Preview Lab → · Contrast checker → · Palette generator →

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