#B45AF2#B45AF2

#B45AF2 is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.3% C 0.224 H 308.6°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B45AF2
RGBrgb(180, 90, 242)
HSLhsl(276, 85%, 65%)
HSVhsv(276, 63%, 95%)
CMYKcmyk(25.6%, 62.8%, 0%, 5.1%)
CIE-LABlab(55.51, 61.73, -61.93)
CIE-LCHlch(55.51, 87.44, 314.91°)
OKLaboklab(64.32% 0.1398 -0.1749)
OKLCHoklch(64.32% 0.224 308.6)
XYZxyz(38.5023, 23.4271, 86.4808)
Luminance0.2343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45AF2 #98F25A
analogous
#685AF2 #B45AF2 #F25AE4
triadic
#B45AF2 #F2B45A #5AF2B4
tetradic
#B45AF2 #F2685A #98F25A #5AE4F2
square
#B45AF2 #F2685A #98F25A #5AE4F2
split-complementary
#B45AF2 #E4F25A #5AF268
monochromatic
#790FC2 #9A21EE #B45AF2 #CE93F6 #E8CBFB

Accessibility & contrast

On white

3.69
#B45AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#B45AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45AF2
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45AF2#FFFFFF#000000##000000
##B45AF21.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#4186EF
Tritanopia (blue-blind)
#AB799E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b45af2;
/* rgb */ color: rgb(180, 90, 242);
/* oklch */ color: oklch(64.3% 0.224 308.6);
Tailwind
colors: {
  custom: {
    50: '#cf8ef7',
    500: '#b45af2',
    950: '#000000',
  },
}
SCSS
$custom: #b45af2;
$custom-light: #cf8ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#b45af2",
  "rgb": {
    "r": 180,
    "g": 90,
    "b": 242
  },
  "hsl": {
    "h": 275.526,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64321,
    "c": 0.22393,
    "h": 308.6
  },
  "luminance": 0.23426
}

Semantic roles & 50–950 ramp

primary
#B45AF2
secondary
#CFEEBA
accent
#E2045E
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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