#B34FCB#B34FCB

#B34FCB is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.5% C 0.200 H 319.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B34FCB
RGBrgb(179, 79, 203)
HSLhsl(288, 54%, 55%)
HSVhsv(288, 61%, 80%)
CMYKcmyk(11.8%, 61.1%, 0%, 20.4%)
CIE-LABlab(51.25, 58.54, -46.69)
CIE-LCHlch(51.25, 74.88, 321.43°)
OKLaboklab(60.48% 0.1521 -0.1303)
OKLCHoklch(60.48% 0.2 319.4)
XYZxyz(32.1645, 19.4889, 58.5558)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34FCB #67CB4F
analogous
#754FCB #B34FCB #CB4FA5
triadic
#B34FCB #CBB34F #4FCBB3
tetradic
#B34FCB #CB754F #67CB4F #4FA5CB
square
#B34FCB #CB754F #67CB4F #4FA5CB
split-complementary
#B34FCB #A5CB4F #4FCB75
monochromatic
#6A247B #9332AA #B34FCB #C77ED9 #DCADE7

Accessibility & contrast

On white

4.29
#B34FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#B34FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34FCB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34FCB#FFFFFF#000000##000000
##B34FCB1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F73CF
Deuteranopia (green-blind)
#587EC8
Tritanopia (blue-blind)
#B36386
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b34fcb;
/* rgb */ color: rgb(179, 79, 203);
/* oklch */ color: oklch(60.5% 0.200 319.4);
Tailwind
colors: {
  custom: {
    50: '#cd86db',
    500: '#b34fcb',
    950: '#000000',
  },
}
SCSS
$custom: #b34fcb;
$custom-light: #cd86db;
$custom-dark: #000000;
JSON
{
  "hex": "#b34fcb",
  "rgb": {
    "r": 179,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 288.387,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60484,
    "c": 0.20026,
    "h": 319.4
  },
  "luminance": 0.19487
}

Semantic roles & 50–950 ramp

primary
#B34FCB
secondary
#ABD5A1
accent
#DE4A67
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B34FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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