#B45FCA#B45FCA

#B45FCA is a light, vivid purple. Relative luminance 0.222; OKLCH L 62.6% C 0.176 H 319.0°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B45FCA
RGBrgb(180, 95, 202)
HSLhsl(288, 50%, 58%)
HSVhsv(288, 53%, 79%)
CMYKcmyk(10.9%, 53%, 0%, 20.8%)
CIE-LABlab(54.19, 50.91, -41.46)
CIE-LCHlch(54.19, 65.65, 320.84°)
OKLaboklab(62.64% 0.1327 -0.1151)
OKLCHoklch(62.64% 0.176 319)
XYZxyz(33.5739, 22.1533, 58.3731)
Luminance0.2215 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FCA #75CA5F
analogous
#7E5FCA #B45FCA #CA5FAA
triadic
#B45FCA #CAB45F #5FCAB4
tetradic
#B45FCA #CA7E5F #75CA5F #5FAACA
square
#B45FCA #CA7E5F #75CA5F #5FAACA
split-complementary
#B45FCA #AACA5F #5FCA7E
monochromatic
#712B83 #993BB1 #B45FCA #CA8DD9 #DFBBE8

Accessibility & contrast

On white

3.87
#B45FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#B45FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FCA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FCA#FFFFFF#000000##000000
##B45FCA1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7CCE
Deuteranopia (green-blind)
#6585C7
Tritanopia (blue-blind)
#B46F8C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b45fca;
/* rgb */ color: rgb(180, 95, 202);
/* oklch */ color: oklch(62.6% 0.176 319.0);
Tailwind
colors: {
  custom: {
    50: '#cd90da',
    500: '#b45fca',
    950: '#000000',
  },
}
SCSS
$custom: #b45fca;
$custom-light: #cd90da;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fca",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 287.664,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6264,
    "c": 0.17567,
    "h": 319
  },
  "luminance": 0.22152
}

Semantic roles & 50–950 ramp

primary
#B45FCA
secondary
#B6D8AD
accent
#DA4E6B
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B45FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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