#B45FC2#B45FC2

#B45FC2 is a light, vivid purple. Relative luminance 0.218; OKLCH L 62.2% C 0.168 H 321.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B45FC2
RGBrgb(180, 95, 194)
HSLhsl(292, 45%, 57%)
HSVhsv(292, 51%, 76%)
CMYKcmyk(7.2%, 51%, 0%, 23.9%)
CIE-LABlab(53.80, 49.33, -37.49)
CIE-LCHlch(53.80, 61.96, 322.76°)
OKLaboklab(62.22% 0.1318 -0.1037)
OKLCHoklch(62.22% 0.168 321.8)
XYZxyz(32.6511, 21.7842, 53.5134)
Luminance0.2178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FC2 #6DC25F
analogous
#835FC2 #B45FC2 #C25F9F
triadic
#B45FC2 #C2B45F #5FC2B4
tetradic
#B45FC2 #C2835F #6DC25F #5F9FC2
square
#B45FC2 #C2835F #6DC25F #5F9FC2
split-complementary
#B45FC2 #9FC25F #5FC283
monochromatic
#6E2E79 #963FA5 #B45FC2 #C98BD3 #DEB8E4

Accessibility & contrast

On white

3.92
#B45FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#B45FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FC2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FC2#FFFFFF#000000##000000
##B45FC21.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#507AC5
Deuteranopia (green-blind)
#6A84BF
Tritanopia (blue-blind)
#B66C88
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b45fc2;
/* rgb */ color: rgb(180, 95, 194);
/* oklch */ color: oklch(62.2% 0.168 321.8);
Tailwind
colors: {
  custom: {
    50: '#cd90d5',
    500: '#b45fc2',
    950: '#000000',
  },
}
SCSS
$custom: #b45fc2;
$custom-light: #cd90d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fc2",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 291.515,
    "s": 44.796,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62224,
    "c": 0.16765,
    "h": 321.8
  },
  "luminance": 0.21783
}

Semantic roles & 50–950 ramp

primary
#B45FC2
secondary
#B0D3AA
accent
#D45366
background
#FCF9FD
surface
#F9F1FA
border
#D2CBD3
text
#140D14
muted
#827E83

Preview Lab

Preview with #B45FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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