#B45FF2#B45FF2

#B45FF2 is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 65.0% C 0.217 H 308.1°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#B45FF2
RGBrgb(180, 95, 242)
HSLhsl(275, 85%, 66%)
HSVhsv(275, 61%, 95%)
CMYKcmyk(25.6%, 60.7%, 0%, 5.1%)
CIE-LABlab(56.39, 59.34, -60.52)
CIE-LCHlch(56.39, 84.76, 314.44°)
OKLaboklab(64.96% 0.1341 -0.1708)
OKLCHoklch(64.96% 0.217 308.1)
XYZxyz(38.9384, 24.2991, 86.6261)
Luminance0.2430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FF2 #9DF25F
analogous
#6A5FF2 #B45FF2 #F25FE6
triadic
#B45FF2 #F2B45F #5FF2B4
tetradic
#B45FF2 #F26A5F #9DF25F #5FE6F2
square
#B45FF2 #F26A5F #9DF25F #5FE6F2
split-complementary
#B45FF2 #E6F25F #5FF26A
monochromatic
#7A10C6 #9926ED #B45FF2 #CF98F7 #E9D0FB

Accessibility & contrast

On white

3.58
#B45FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#B45FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FF2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FF2#FFFFFF#000000##000000
##B45FF21.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1684F7
Deuteranopia (green-blind)
#4788EF
Tritanopia (blue-blind)
#AB7CA0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b45ff2;
/* rgb */ color: rgb(180, 95, 242);
/* oklch */ color: oklch(65.0% 0.217 308.1);
Tailwind
colors: {
  custom: {
    50: '#ce91f7',
    500: '#b45ff2',
    950: '#000000',
  },
}
SCSS
$custom: #b45ff2;
$custom-light: #ce91f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ff2",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 274.694,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64956,
    "c": 0.21713,
    "h": 308.1
  },
  "luminance": 0.24299
}

Semantic roles & 50–950 ramp

primary
#B45FF2
secondary
#D3EFBE
accent
#E10461
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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