#B241D8#B241D8

#B241D8 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.6% C 0.230 H 316.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B241D8
RGBrgb(178, 65, 216)
HSLhsl(285, 66%, 55%)
HSVhsv(285, 70%, 85%)
CMYKcmyk(17.6%, 69.9%, 0%, 15.3%)
CIE-LABlab(49.74, 66.77, -56.55)
CIE-LCHlch(49.74, 87.50, 319.74°)
OKLaboklab(59.61% 0.166 -0.159)
OKLCHoklch(59.61% 0.23 316.2)
XYZxyz(32.6432, 18.2047, 66.7468)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B241D8 #67D841
analogous
#6741D8 #B241D8 #D841B2
triadic
#B241D8 #D8B241 #41D8B2
tetradic
#B241D8 #D86741 #67D841 #41B2D8
square
#B241D8 #D86741 #67D841 #41B2D8
split-complementary
#B241D8 #B2D841 #41D867
monochromatic
#691B84 #9225B6 #B241D8 #C774E2 #DBA7ED

Accessibility & contrast

On white

4.53
#B241D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#B241D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B241D8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B241D8#FFFFFF#000000##000000
##B241D81.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070DC
Deuteranopia (green-blind)
#4179D5
Tritanopia (blue-blind)
#B05F88
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b241d8;
/* rgb */ color: rgb(178, 65, 216);
/* oklch */ color: oklch(59.6% 0.230 316.2);
Tailwind
colors: {
  custom: {
    50: '#cd7fe5',
    500: '#b241d8',
    950: '#000000',
  },
}
SCSS
$custom: #b241d8;
$custom-light: #cd7fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#b241d8",
  "rgb": {
    "r": 178,
    "g": 65,
    "b": 216
  },
  "hsl": {
    "h": 284.901,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59612,
    "c": 0.22991,
    "h": 316.2
  },
  "luminance": 0.18203
}

Semantic roles & 50–950 ramp

primary
#B241D8
secondary
#ABDA9B
accent
#E93F6A
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B241D8

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

Preview Lab → · Contrast checker → · Palette generator →

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