#B239E0#B239E0

#B239E0 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.4% C 0.246 H 314.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B239E0
RGBrgb(178, 57, 224)
HSLhsl(283, 73%, 55%)
HSVhsv(283, 75%, 88%)
CMYKcmyk(20.5%, 74.6%, 0%, 12.2%)
CIE-LABlab(49.22, 71.27, -61.94)
CIE-LCHlch(49.22, 94.43, 319.01°)
OKLaboklab(59.4% 0.1726 -0.1748)
OKLCHoklch(59.4% 0.246 314.6)
XYZxyz(33.2755, 17.7742, 72.1845)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B239E0 #67E039
analogous
#5E39E0 #B239E0 #E039BB
triadic
#B239E0 #E0B239 #39E0B2
tetradic
#B239E0 #E05E39 #67E039 #39BBE0
square
#B239E0 #E05E39 #67E039 #39BBE0
split-complementary
#B239E0 #BBE039 #39E05E
monochromatic
#691589 #921EBE #B239E0 #C76EE8 #DBA3F1

Accessibility & contrast

On white

4.61
#B239E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#B239E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B239E0
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B239E0#FFFFFF#000000##FFFFFF
##B239E01.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE5
Deuteranopia (green-blind)
#2F78DC
Tritanopia (blue-blind)
#AE5F8B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b239e0;
/* rgb */ color: rgb(178, 57, 224);
/* oklch */ color: oklch(59.4% 0.246 314.6);
Tailwind
colors: {
  custom: {
    50: '#ce7ceb',
    500: '#b239e0',
    950: '#000000',
  },
}
SCSS
$custom: #b239e0;
$custom-light: #ce7ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#b239e0",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 224
  },
  "hsl": {
    "h": 283.473,
    "s": 72.926,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59404,
    "c": 0.24566,
    "h": 314.6
  },
  "luminance": 0.17773
}

Semantic roles & 50–950 ramp

primary
#B239E0
secondary
#ABDD97
accent
#F0386B
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B239E0

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

Preview Lab → · Contrast checker → · Palette generator →

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