#B23FCB#B23FCB

#B23FCB is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.6% C 0.221 H 319.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B23FCB
RGBrgb(178, 63, 203)
HSLhsl(289, 57%, 52%)
HSVhsv(289, 69%, 80%)
CMYKcmyk(12.3%, 69%, 0%, 20.4%)
CIE-LABlab(48.68, 65.08, -50.80)
CIE-LCHlch(48.68, 82.56, 322.02°)
OKLaboklab(58.6% 0.1689 -0.1422)
OKLCHoklch(58.6% 0.221 319.9)
XYZxyz(30.9158, 17.3333, 58.2055)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23FCB #58CB3F
analogous
#6C3FCB #B23FCB #CB3F9E
triadic
#B23FCB #CBB23F #3FCBB2
tetradic
#B23FCB #CB6C3F #58CB3F #3F9ECB
square
#B23FCB #CB6C3F #58CB3F #3F9ECB
split-complementary
#B23FCB #9ECB3F #3FCB6C
monochromatic
#621F71 #8C2CA1 #B23FCB #C56FD8 #D99FE5

Accessibility & contrast

On white

4.70
#B23FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#B23FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23FCB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23FCB#FFFFFF#000000##FFFFFF
##B23FCB1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#4B78C8
Tritanopia (blue-blind)
#B35981
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b23fcb;
/* rgb */ color: rgb(178, 63, 203);
/* oklch */ color: oklch(58.6% 0.221 319.9);
Tailwind
colors: {
  custom: {
    50: '#cd7edb',
    500: '#b23fcb',
    950: '#000000',
  },
}
SCSS
$custom: #b23fcb;
$custom-light: #cd7edb;
$custom-dark: #000000;
JSON
{
  "hex": "#b23fcb",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 203
  },
  "hsl": {
    "h": 289.286,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58596,
    "c": 0.22082,
    "h": 319.9
  },
  "luminance": 0.17332
}

Semantic roles & 50–950 ramp

primary
#B23FCB
secondary
#9FD194
accent
#E14763
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B23FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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