#B23EB7#B23EB7

#B23EB7 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.3% C 0.205 H 326.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B23EB7
RGBrgb(178, 62, 183)
HSLhsl(298, 49%, 48%)
HSVhsv(298, 66%, 72%)
CMYKcmyk(2.7%, 66.1%, 0%, 28.2%)
CIE-LABlab(47.41, 61.87, -41.22)
CIE-LCHlch(47.41, 74.34, 326.32°)
OKLaboklab(57.32% 0.1702 -0.1143)
OKLCHoklch(57.32% 0.205 326.1)
XYZxyz(28.6294, 16.3310, 46.4348)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23EB7 #43B73E
analogous
#763EB7 #B23EB7 #B73E7F
triadic
#B23EB7 #B7B23E #3EB7B2
tetradic
#B23EB7 #B7763E #43B73E #3E7FB7
square
#B23EB7 #B7763E #43B73E #3E7FB7
split-complementary
#B23EB7 #7FB73E #3EB776
monochromatic
#591F5C #862F89 #B23EB7 #C767CB #D894DB

Accessibility & contrast

On white

4.92
#B23EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#B23EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23EB7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23EB7#FFFFFF#000000##FFFFFF
##B23EB71.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2867BB
Deuteranopia (green-blind)
#5876B4
Tritanopia (blue-blind)
#B65075
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b23eb7;
/* rgb */ color: rgb(178, 62, 183);
/* oklch */ color: oklch(57.3% 0.205 326.1);
Tailwind
colors: {
  custom: {
    50: '#cc7ccd',
    500: '#b23eb7',
    950: '#000000',
  },
}
SCSS
$custom: #b23eb7;
$custom-light: #cc7ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#b23eb7",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 297.521,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57318,
    "c": 0.20502,
    "h": 326.1
  },
  "luminance": 0.16329
}

Semantic roles & 50–950 ramp

primary
#B23EB7
secondary
#8DC68A
accent
#D94F55
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A13
muted
#827C82

Preview Lab

Preview with #B23EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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