#B234C2#B234C2

#B234C2 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.0% C 0.226 H 322.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B234C2
RGBrgb(178, 52, 194)
HSLhsl(293, 58%, 48%)
HSVhsv(293, 73%, 76%)
CMYKcmyk(8.2%, 73.2%, 0%, 23.9%)
CIE-LABlab(46.73, 67.45, -48.70)
CIE-LCHlch(46.73, 83.20, 324.17°)
OKLaboklab(57.04% 0.1801 -0.136)
OKLCHoklch(57.04% 0.226 322.9)
XYZxyz(29.3248, 15.8177, 52.5370)
Luminance0.1582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B234C2 #44C234
analogous
#6B34C2 #B234C2 #C2348B
triadic
#B234C2 #C2B234 #34C2B2
tetradic
#B234C2 #C26B34 #44C234 #348BC2
square
#B234C2 #C26B34 #44C234 #348BC2
split-complementary
#B234C2 #8BC234 #34C26B
monochromatic
#591A61 #862792 #B234C2 #C75FD4 #D88FE1

Accessibility & contrast

On white

5.04
#B234C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#B234C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B234C2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B234C2#FFFFFF#000000##FFFFFF
##B234C21.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#4B74BF
Tritanopia (blue-blind)
#B54E79
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b234c2;
/* rgb */ color: rgb(178, 52, 194);
/* oklch */ color: oklch(57.0% 0.226 322.9);
Tailwind
colors: {
  custom: {
    50: '#cd78d5',
    500: '#b234c2',
    950: '#000000',
  },
}
SCSS
$custom: #b234c2;
$custom-light: #cd78d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b234c2",
  "rgb": {
    "r": 178,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 293.239,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57037,
    "c": 0.22571,
    "h": 322.9
  },
  "luminance": 0.15816
}

Semantic roles & 50–950 ramp

primary
#B234C2
secondary
#8ECC86
accent
#E14758
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B234C2

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

Preview Lab → · Contrast checker → · Palette generator →

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