#B045CF#B045CF

#B045CF is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.2% C 0.216 H 317.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B045CF
RGBrgb(176, 69, 207)
HSLhsl(287, 59%, 54%)
HSVhsv(287, 67%, 81%)
CMYKcmyk(15%, 66.7%, 0%, 18.8%)
CIE-LABlab(49.49, 62.98, -51.82)
CIE-LCHlch(49.49, 81.56, 320.55°)
OKLaboklab(59.2% 0.16 -0.1453)
OKLCHoklch(59.2% 0.216 317.8)
XYZxyz(31.2935, 17.9927, 60.8439)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045CF #64CF45
analogous
#6B45CF #B045CF #CF45A9
triadic
#B045CF #CFB045 #45CFB0
tetradic
#B045CF #CF6B45 #64CF45 #45A9CF
square
#B045CF #CF6B45 #64CF45 #45A9CF
split-complementary
#B045CF #A9CF45 #45CF6B
monochromatic
#66207A #8E2CAB #B045CF #C576DC #D9A6E8

Accessibility & contrast

On white

4.57
#B045CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#B045CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B045CF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045CF#FFFFFF#000000##000000
##B045CF1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#036FD3
Deuteranopia (green-blind)
#4A79CC
Tritanopia (blue-blind)
#AF5F85
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b045cf;
/* rgb */ color: rgb(176, 69, 207);
/* oklch */ color: oklch(59.2% 0.216 317.8);
Tailwind
colors: {
  custom: {
    50: '#cb81de',
    500: '#b045cf',
    950: '#000000',
  },
}
SCSS
$custom: #b045cf;
$custom-light: #cb81de;
$custom-dark: #000000;
JSON
{
  "hex": "#b045cf",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 286.522,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59195,
    "c": 0.21614,
    "h": 317.8
  },
  "luminance": 0.17991
}

Semantic roles & 50–950 ramp

primary
#B045CF
secondary
#A8D59B
accent
#E24669
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B045CF

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

Preview Lab → · Contrast checker → · Palette generator →

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