#B236CF#B236CF

#B236CF is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.0% C 0.234 H 319.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B236CF
RGBrgb(178, 54, 207)
HSLhsl(289, 61%, 51%)
HSVhsv(289, 74%, 81%)
CMYKcmyk(14%, 73.9%, 0%, 18.8%)
CIE-LABlab(47.76, 69.11, -54.57)
CIE-LCHlch(47.76, 88.05, 321.70°)
OKLaboklab(58.02% 0.1773 -0.1532)
OKLCHoklch(58.02% 0.234 319.2)
XYZxyz(30.9403, 16.6098, 60.5957)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236CF #53CF36
analogous
#6536CF #B236CF #CF36A0
triadic
#B236CF #CFB236 #36CFB2
tetradic
#B236CF #CF6536 #53CF36 #36A0CF
square
#B236CF #CF6536 #53CF36 #36A0CF
split-complementary
#B236CF #A0CF36 #36CF65
monochromatic
#601B70 #8A27A1 #B236CF #C567DB #D899E7

Accessibility & contrast

On white

4.86
#B236CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#B236CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236CF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236CF#FFFFFF#000000##FFFFFF
##B236CF1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#4175CC
Tritanopia (blue-blind)
#B25580
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b236cf;
/* rgb */ color: rgb(178, 54, 207);
/* oklch */ color: oklch(58.0% 0.234 319.2);
Tailwind
colors: {
  custom: {
    50: '#cd7ade',
    500: '#b236cf',
    950: '#000000',
  },
}
SCSS
$custom: #b236cf;
$custom-light: #cd7ade;
$custom-dark: #000000;
JSON
{
  "hex": "#b236cf",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 207
  },
  "hsl": {
    "h": 288.627,
    "s": 61.446,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58024,
    "c": 0.23432,
    "h": 319.2
  },
  "luminance": 0.16608
}

Semantic roles & 50–950 ramp

primary
#B236CF
secondary
#9BD28F
accent
#E54362
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B236CF

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

Preview Lab → · Contrast checker → · Palette generator →

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