#B34FCF#B34FCF

#B34FCF is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 60.7% C 0.204 H 318.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B34FCF
RGBrgb(179, 79, 207)
HSLhsl(287, 57%, 56%)
HSVhsv(287, 62%, 81%)
CMYKcmyk(13.5%, 61.8%, 0%, 18.8%)
CIE-LABlab(51.48, 59.32, -48.63)
CIE-LCHlch(51.48, 76.70, 320.66°)
OKLaboklab(60.72% 0.1522 -0.1359)
OKLCHoklch(60.72% 0.204 318.2)
XYZxyz(32.6473, 19.6820, 61.0987)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34FCF #6BCF4F
analogous
#734FCF #B34FCF #CF4FAB
triadic
#B34FCF #CFB34F #4FCFB3
tetradic
#B34FCF #CF734F #6BCF4F #4FABCF
square
#B34FCF #CF734F #6BCF4F #4FABCF
split-complementary
#B34FCF #ABCF4F #4FCF73
monochromatic
#6C2381 #9530B1 #B34FCF #C87FDC #DDAFE9

Accessibility & contrast

On white

4.25
#B34FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#B34FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34FCF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34FCF#FFFFFF#000000##000000
##B34FCF1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A74D3
Deuteranopia (green-blind)
#557ECC
Tritanopia (blue-blind)
#B36588
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b34fcf;
/* rgb */ color: rgb(179, 79, 207);
/* oklch */ color: oklch(60.7% 0.204 318.2);
Tailwind
colors: {
  custom: {
    50: '#cd86de',
    500: '#b34fcf',
    950: '#000000',
  },
}
SCSS
$custom: #b34fcf;
$custom-light: #cd86de;
$custom-dark: #000000;
JSON
{
  "hex": "#b34fcf",
  "rgb": {
    "r": 179,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 286.875,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60716,
    "c": 0.20404,
    "h": 318.2
  },
  "luminance": 0.19681
}

Semantic roles & 50–950 ramp

primary
#B34FCF
secondary
#AED7A2
accent
#E04769
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B34FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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