#B23FC7#B23FC7

#B23FC7 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.4% C 0.217 H 321.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B23FC7
RGBrgb(178, 63, 199)
HSLhsl(291, 55%, 51%)
HSVhsv(291, 68%, 78%)
CMYKcmyk(10.6%, 68.3%, 0%, 22%)
CIE-LABlab(48.44, 64.34, -48.87)
CIE-LCHlch(48.44, 80.80, 322.78°)
OKLaboklab(58.35% 0.1691 -0.1366)
OKLCHoklch(58.35% 0.217 321.1)
XYZxyz(30.4452, 17.1451, 55.7274)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23FC7 #54C73F
analogous
#6E3FC7 #B23FC7 #C73F98
triadic
#B23FC7 #C7B23F #3FC7B2
tetradic
#B23FC7 #C76E3F #54C73F #3F98C7
square
#B23FC7 #C76E3F #54C73F #3F98C7
split-complementary
#B23FC7 #98C73F #3FC76E
monochromatic
#60206C #8A2D9B #B23FC7 #C56ED5 #D89EE3

Accessibility & contrast

On white

4.74
#B23FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#B23FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23FC7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23FC7#FFFFFF#000000##FFFFFF
##B23FC71.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A6BCB
Deuteranopia (green-blind)
#4E77C4
Tritanopia (blue-blind)
#B3577E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b23fc7;
/* rgb */ color: rgb(178, 63, 199);
/* oklch */ color: oklch(58.4% 0.217 321.1);
Tailwind
colors: {
  custom: {
    50: '#cd7dd9',
    500: '#b23fc7',
    950: '#000000',
  },
}
SCSS
$custom: #b23fc7;
$custom-light: #cd7dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#b23fc7",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 199
  },
  "hsl": {
    "h": 290.735,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58353,
    "c": 0.21735,
    "h": 321.1
  },
  "luminance": 0.17144
}

Semantic roles & 50–950 ramp

primary
#B23FC7
secondary
#9CCF93
accent
#DE4A61
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140A15
muted
#837C83

Preview Lab

Preview with #B23FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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