#B233CA#B233CA

#B233CA is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.5% C 0.233 H 320.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B233CA
RGBrgb(178, 51, 202)
HSLhsl(290, 60%, 50%)
HSVhsv(290, 75%, 79%)
CMYKcmyk(11.9%, 74.8%, 0%, 20.8%)
CIE-LABlab(47.10, 69.20, -52.75)
CIE-LCHlch(47.10, 87.01, 322.68°)
OKLaboklab(57.46% 0.1804 -0.1478)
OKLCHoklch(57.46% 0.233 320.7)
XYZxyz(30.2033, 16.0985, 57.3821)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B233CA #4BCA33
analogous
#6733CA #B233CA #CA3396
triadic
#B233CA #CAB233 #33CAB2
tetradic
#B233CA #CA6733 #4BCA33 #3396CA
square
#B233CA #CA6733 #4BCA33 #3396CA
split-complementary
#B233CA #96CA33 #33CA67
monochromatic
#5C1A68 #872799 #B233CA #C563D8 #D794E4

Accessibility & contrast

On white

4.98
#B233CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#B233CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B233CA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B233CA#FFFFFF#000000##FFFFFF
##B233CA1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b233ca;
/* rgb */ color: rgb(178, 51, 202);
/* oklch */ color: oklch(57.5% 0.233 320.7);
Tailwind
colors: {
  custom: {
    50: '#cd78db',
    500: '#b233ca',
    950: '#000000',
  },
}
SCSS
$custom: #b233ca;
$custom-light: #cd78db;
$custom-dark: #000000;
JSON
{
  "hex": "#b233ca",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 202
  },
  "hsl": {
    "h": 290.464,
    "s": 59.684,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57455,
    "c": 0.23326,
    "h": 320.7
  },
  "luminance": 0.16097
}

Semantic roles & 50–950 ramp

primary
#B233CA
secondary
#95CF8A
accent
#E3455E
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B233CA

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

Preview Lab → · Contrast checker → · Palette generator →

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