#B145CA#B145CA

#B145CA is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.0% C 0.212 H 319.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B145CA
RGBrgb(177, 69, 202)
HSLhsl(289, 56%, 53%)
HSVhsv(289, 66%, 79%)
CMYKcmyk(12.4%, 65.8%, 0%, 20.8%)
CIE-LABlab(49.34, 62.25, -49.18)
CIE-LCHlch(49.34, 79.33, 321.69°)
OKLaboklab(59.02% 0.1614 -0.1375)
OKLCHoklch(59.02% 0.212 319.6)
XYZxyz(30.9189, 17.8691, 57.6861)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145CA #5ECA45
analogous
#6E45CA #B145CA #CA45A0
triadic
#B145CA #CAB145 #45CAB1
tetradic
#B145CA #CA6E45 #5ECA45 #45A0CA
square
#B145CA #CA6E45 #5ECA45 #45A0CA
split-complementary
#B145CA #A0CA45 #45CA6E
monochromatic
#642174 #8D2FA3 #B145CA #C575D8 #D9A4E5

Accessibility & contrast

On white

4.59
#B145CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#B145CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B145CA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145CA#FFFFFF#000000##FFFFFF
##B145CA1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176ECE
Deuteranopia (green-blind)
#4F79C7
Tritanopia (blue-blind)
#B15C82
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b145ca;
/* rgb */ color: rgb(177, 69, 202);
/* oklch */ color: oklch(59.0% 0.212 319.6);
Tailwind
colors: {
  custom: {
    50: '#cc80db',
    500: '#b145ca',
    950: '#000000',
  },
}
SCSS
$custom: #b145ca;
$custom-light: #cc80db;
$custom-dark: #000000;
JSON
{
  "hex": "#b145ca",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 288.722,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59022,
    "c": 0.21202,
    "h": 319.6
  },
  "luminance": 0.17868
}

Semantic roles & 50–950 ramp

primary
#B145CA
secondary
#A4D299
accent
#DF4965
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B145CA

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

Preview Lab → · Contrast checker → · Palette generator →

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