#B23FE2#B23FE2

#B23FE2 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 60.1% C 0.241 H 313.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B23FE2
RGBrgb(178, 63, 226)
HSLhsl(282, 74%, 57%)
HSVhsv(282, 72%, 89%)
CMYKcmyk(21.2%, 72.1%, 0%, 11.4%)
CIE-LABlab(50.11, 69.49, -61.64)
CIE-LCHlch(50.11, 92.89, 318.43°)
OKLaboklab(60.08% 0.1669 -0.174)
OKLCHoklch(60.08% 0.241 313.8)
XYZxyz(33.8627, 18.5121, 73.7262)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23FE2 #6FE23F
analogous
#613FE2 #B23FE2 #E23FC1
triadic
#B23FE2 #E2B23F #3FE2B2
tetradic
#B23FE2 #E2613F #6FE23F #3FC1E2
square
#B23FE2 #E2613F #6FE23F #3FC1E2
split-complementary
#B23FE2 #C1E23F #3FE261
monochromatic
#6D1691 #941EC6 #B23FE2 #C774EA #DDA9F2

Accessibility & contrast

On white

4.47
#B23FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#B23FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B23FE2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23FE2#FFFFFF#000000##000000
##B23FE21.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E7
Deuteranopia (green-blind)
#337ADE
Tritanopia (blue-blind)
#AD638D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b23fe2;
/* rgb */ color: rgb(178, 63, 226);
/* oklch */ color: oklch(60.1% 0.241 313.8);
Tailwind
colors: {
  custom: {
    50: '#ce7eec',
    500: '#b23fe2',
    950: '#000000',
  },
}
SCSS
$custom: #b23fe2;
$custom-light: #ce7eec;
$custom-dark: #000000;
JSON
{
  "hex": "#b23fe2",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 226
  },
  "hsl": {
    "h": 282.331,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60076,
    "c": 0.2411,
    "h": 313.8
  },
  "luminance": 0.18511
}

Semantic roles & 50–950 ramp

primary
#B23FE2
secondary
#B1E09D
accent
#F0376E
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B23FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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