#B23CFB#B23CFB

#B23CFB is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 61.6% C 0.266 H 308.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B23CFB
RGBrgb(178, 60, 251)
HSLhsl(277, 96%, 61%)
HSVhsv(277, 76%, 98%)
CMYKcmyk(29.1%, 76.1%, 0%, 1.6%)
CIE-LABlab(51.45, 75.60, -73.51)
CIE-LCHlch(51.45, 105.45, 315.80°)
OKLaboklab(61.57% 0.1653 -0.2088)
OKLCHoklch(61.57% 0.266 308.4)
XYZxyz(37.3849, 19.6623, 93.0739)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CFB #85FB3C
analogous
#523CFB #B23CFB #FB3CE5
triadic
#B23CFB #FBB23C #3CFBB2
tetradic
#B23CFB #FB523C #85FB3C #3CE5FB
square
#B23CFB #FB523C #85FB3C #3CE5FB
split-complementary
#B23CFB #E5FB3C #3CFB52
monochromatic
#7404B9 #9905F5 #B23CFB #CA78FC #E1B4FD

Accessibility & contrast

On white

4.26
#B23CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#B23CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B23CFB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CFB#FFFFFF#000000##000000
##B23CFB1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#007CF7
Tritanopia (blue-blind)
#A66C9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b23cfb;
/* rgb */ color: rgb(178, 60, 251);
/* oklch */ color: oklch(61.6% 0.266 308.4);
Tailwind
colors: {
  custom: {
    50: '#cf7efe',
    500: '#b23cfb',
    950: '#000000',
  },
}
SCSS
$custom: #b23cfb;
$custom-light: #cf7efe;
$custom-dark: #000000;
JSON
{
  "hex": "#b23cfb",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 251
  },
  "hsl": {
    "h": 277.068,
    "s": 95.98,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61565,
    "c": 0.26633,
    "h": 308.4
  },
  "luminance": 0.19662
}

Semantic roles & 50–950 ramp

primary
#B23CFB
secondary
#C1EDA5
accent
#E60058
background
#FDF8FF
surface
#FAEFFF
border
#D3CAD7
text
#150B18
muted
#837C86

Preview Lab

Preview with #B23CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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