#B235CA#B235CA

#B235CA is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.6% C 0.231 H 320.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B235CA
RGBrgb(178, 53, 202)
HSLhsl(290, 58%, 50%)
HSVhsv(290, 74%, 79%)
CMYKcmyk(11.9%, 73.8%, 0%, 20.8%)
CIE-LABlab(47.34, 68.54, -52.38)
CIE-LCHlch(47.34, 86.26, 322.61°)
OKLaboklab(57.62% 0.1787 -0.1467)
OKLCHoklch(57.62% 0.231 320.6)
XYZxyz(30.2926, 16.2771, 57.4118)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B235CA #4DCA35
analogous
#6835CA #B235CA #CA3597
triadic
#B235CA #CAB235 #35CAB2
tetradic
#B235CA #CA6835 #4DCA35 #3597CA
square
#B235CA #CA6835 #4DCA35 #3597CA
split-complementary
#B235CA #97CA35 #35CA68
monochromatic
#5D1C69 #87289A #B235CA #C465D7 #D796E3

Accessibility & contrast

On white

4.94
#B235CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#B235CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B235CA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B235CA#FFFFFF#000000##FFFFFF
##B235CA1.004.944.264.94
#FFFFFF4.941.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b235ca;
/* rgb */ color: rgb(178, 53, 202);
/* oklch */ color: oklch(57.6% 0.231 320.6);
Tailwind
colors: {
  custom: {
    50: '#cd79db',
    500: '#b235ca',
    950: '#000000',
  },
}
SCSS
$custom: #b235ca;
$custom-light: #cd79db;
$custom-dark: #000000;
JSON
{
  "hex": "#b235ca",
  "rgb": {
    "r": 178,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 290.336,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.5762,
    "c": 0.2312,
    "h": 320.6
  },
  "luminance": 0.16275
}

Semantic roles & 50–950 ramp

primary
#B235CA
secondary
#97CF8C
accent
#E2465F
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B235CA

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

Preview Lab → · Contrast checker → · Palette generator →

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