#B351CA#B351CA

#B351CA is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.7% C 0.196 H 319.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B351CA
RGBrgb(179, 81, 202)
HSLhsl(289, 53%, 55%)
HSVhsv(289, 60%, 79%)
CMYKcmyk(11.4%, 59.9%, 0%, 20.8%)
CIE-LABlab(51.54, 57.43, -45.67)
CIE-LCHlch(51.54, 73.37, 321.51°)
OKLaboklab(60.67% 0.1496 -0.1273)
OKLCHoklch(60.67% 0.196 319.6)
XYZxyz(32.1922, 19.7342, 57.9790)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B351CA #68CA51
analogous
#7651CA #B351CA #CA51A4
triadic
#B351CA #CAB351 #51CAB3
tetradic
#B351CA #CA7651 #68CA51 #51A4CA
square
#B351CA #CA7651 #68CA51 #51A4CA
split-complementary
#B351CA #A4CA51 #51CA76
monochromatic
#6B257B #9434AA #B351CA #C780D8 #DCAFE7

Accessibility & contrast

On white

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

On black

4.95
#B351CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B351CA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B351CA#FFFFFF#000000##000000
##B351CA1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3474CE
Deuteranopia (green-blind)
#5A7EC7
Tritanopia (blue-blind)
#B46486
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b351ca;
/* rgb */ color: rgb(179, 81, 202);
/* oklch */ color: oklch(60.7% 0.196 319.6);
Tailwind
colors: {
  custom: {
    50: '#cd87db',
    500: '#b351ca',
    950: '#000000',
  },
}
SCSS
$custom: #b351ca;
$custom-light: #cd87db;
$custom-dark: #000000;
JSON
{
  "hex": "#b351ca",
  "rgb": {
    "r": 179,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 288.595,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6067,
    "c": 0.19645,
    "h": 319.6
  },
  "luminance": 0.19733
}

Semantic roles & 50–950 ramp

primary
#B351CA
secondary
#ACD5A2
accent
#DD4B67
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B351CA

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

Preview Lab → · Contrast checker → · Palette generator →

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