#B234CA#B234CA

#B234CA is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.5% C 0.232 H 320.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B234CA
RGBrgb(178, 52, 202)
HSLhsl(290, 59%, 50%)
HSVhsv(290, 74%, 79%)
CMYKcmyk(11.9%, 74.3%, 0%, 20.8%)
CIE-LABlab(47.22, 68.87, -52.56)
CIE-LCHlch(47.22, 86.64, 322.65°)
OKLaboklab(57.54% 0.1796 -0.1473)
OKLCHoklch(57.54% 0.232 320.6)
XYZxyz(30.2475, 16.1868, 57.3968)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B234CA #4CCA34
analogous
#6734CA #B234CA #CA3497
triadic
#B234CA #CAB234 #34CAB2
tetradic
#B234CA #CA6734 #4CCA34 #3497CA
square
#B234CA #CA6734 #4CCA34 #3497CA
split-complementary
#B234CA #97CA34 #34CA67
monochromatic
#5C1B69 #872799 #B234CA #C564D7 #D795E4

Accessibility & contrast

On white

4.96
#B234CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#B234CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B234CA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B234CA#FFFFFF#000000##FFFFFF
##B234CA1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#4474C7
Tritanopia (blue-blind)
#B3527D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b234ca;
/* rgb */ color: rgb(178, 52, 202);
/* oklch */ color: oklch(57.5% 0.232 320.6);
Tailwind
colors: {
  custom: {
    50: '#cd78db',
    500: '#b234ca',
    950: '#000000',
  },
}
SCSS
$custom: #b234ca;
$custom-light: #cd78db;
$custom-dark: #000000;
JSON
{
  "hex": "#b234ca",
  "rgb": {
    "r": 178,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 290.4,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57537,
    "c": 0.23224,
    "h": 320.6
  },
  "luminance": 0.16185
}

Semantic roles & 50–950 ramp

primary
#B234CA
secondary
#96CF8B
accent
#E2465F
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B234CA

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

Preview Lab → · Contrast checker → · Palette generator →

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