#B242C3#B242C3

#B242C3 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.4% C 0.210 H 322.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B242C3
RGBrgb(178, 66, 195)
HSLhsl(292, 52%, 51%)
HSVhsv(292, 66%, 76%)
CMYKcmyk(8.7%, 66.2%, 0%, 23.5%)
CIE-LABlab(48.64, 62.41, -46.24)
CIE-LCHlch(48.64, 77.67, 323.46°)
OKLaboklab(58.42% 0.1659 -0.1289)
OKLCHoklch(58.42% 0.21 322.2)
XYZxyz(30.1576, 17.3032, 53.3705)
Luminance0.1730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B242C3 #53C342
analogous
#7142C3 #B242C3 #C34293
triadic
#B242C3 #C3B242 #42C3B2
tetradic
#B242C3 #C37142 #53C342 #4293C3
square
#B242C3 #C37142 #53C342 #4293C3
split-complementary
#B242C3 #93C342 #42C371
monochromatic
#602169 #8A3098 #B242C3 #C570D2 #D89FE0

Accessibility & contrast

On white

4.71
#B242C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#B242C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B242C3
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B242C3#FFFFFF#000000##FFFFFF
##B242C31.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6BC7
Deuteranopia (green-blind)
#5378C0
Tritanopia (blue-blind)
#B4577D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b242c3;
/* rgb */ color: rgb(178, 66, 195);
/* oklch */ color: oklch(58.4% 0.210 322.2);
Tailwind
colors: {
  custom: {
    50: '#cc7fd6',
    500: '#b242c3',
    950: '#000000',
  },
}
SCSS
$custom: #b242c3;
$custom-light: #cc7fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#b242c3",
  "rgb": {
    "r": 178,
    "g": 66,
    "b": 195
  },
  "hsl": {
    "h": 292.093,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58421,
    "c": 0.21013,
    "h": 322.2
  },
  "luminance": 0.17302
}

Semantic roles & 50–950 ramp

primary
#B242C3
secondary
#9BCD94
accent
#DB4D5F
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B242C3

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

Preview Lab → · Contrast checker → · Palette generator →

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