#B145CF#B145CF

#B145CF is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.3% C 0.217 H 318.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B145CF
RGBrgb(177, 69, 207)
HSLhsl(287, 59%, 54%)
HSVhsv(287, 67%, 81%)
CMYKcmyk(14.5%, 66.7%, 0%, 18.8%)
CIE-LABlab(49.63, 63.21, -51.59)
CIE-LCHlch(49.63, 81.59, 320.78°)
OKLaboklab(59.33% 0.1612 -0.1446)
OKLCHoklch(59.33% 0.217 318.1)
XYZxyz(31.5205, 18.1097, 60.8546)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145CF #63CF45
analogous
#6C45CF #B145CF #CF45A8
triadic
#B145CF #CFB145 #45CFB1
tetradic
#B145CF #CF6C45 #63CF45 #45A8CF
square
#B145CF #CF6C45 #63CF45 #45A8CF
split-complementary
#B145CF #A8CF45 #45CF6C
monochromatic
#66207A #8F2CAB #B145CF #C576DC #DAA6E8

Accessibility & contrast

On white

4.54
#B145CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#B145CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B145CF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145CF#FFFFFF#000000##000000
##B145CF1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#066FD3
Deuteranopia (green-blind)
#4B79CC
Tritanopia (blue-blind)
#B05E85
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b145cf;
/* rgb */ color: rgb(177, 69, 207);
/* oklch */ color: oklch(59.3% 0.217 318.1);
Tailwind
colors: {
  custom: {
    50: '#cc81de',
    500: '#b145cf',
    950: '#000000',
  },
}
SCSS
$custom: #b145cf;
$custom-light: #cc81de;
$custom-dark: #000000;
JSON
{
  "hex": "#b145cf",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 286.957,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59326,
    "c": 0.21655,
    "h": 318.1
  },
  "luminance": 0.18108
}

Semantic roles & 50–950 ramp

primary
#B145CF
secondary
#A7D59B
accent
#E24668
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B145CF

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

Preview Lab → · Contrast checker → · Palette generator →

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