#B45FFC#B45FFC

#B45FFC is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.6% C 0.228 H 306.0°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#B45FFC
RGBrgb(180, 95, 252)
HSLhsl(272, 96%, 68%)
HSVhsv(272, 62%, 99%)
CMYKcmyk(28.6%, 62.3%, 0%, 1.2%)
CIE-LABlab(56.99, 61.56, -65.09)
CIE-LCHlch(56.99, 89.59, 313.40°)
OKLaboklab(65.59% 0.1337 -0.1842)
OKLCHoklch(65.59% 0.228 306)
XYZxyz(40.4815, 24.9163, 94.7533)
Luminance0.2492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FFC #A7FC5F
analogous
#655FFC #B45FFC #FC5FF6
triadic
#B45FFC #FCB45F #5FFCB4
tetradic
#B45FFC #FC655F #A7FC5F #5FF6FC
square
#B45FFC #FC655F #A7FC5F #5FF6FC
split-complementary
#B45FFC #F6FC5F #5FFC65
monochromatic
#7904DC #9823FB #B45FFC #D09BFD #ECD7FE

Accessibility & contrast

On white

3.51
#B45FFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#B45FFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FFC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FFC#FFFFFF#000000##000000
##B45FFC1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#3B89F8
Tritanopia (blue-blind)
#A880A5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b45ffc;
/* rgb */ color: rgb(180, 95, 252);
/* oklch */ color: oklch(65.6% 0.228 306.0);
Tailwind
colors: {
  custom: {
    50: '#cf91fe',
    500: '#b45ffc',
    950: '#000000',
  },
}
SCSS
$custom: #b45ffc;
$custom-light: #cf91fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ffc",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 252
  },
  "hsl": {
    "h": 272.484,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.6559,
    "c": 0.22761,
    "h": 306
  },
  "luminance": 0.24916
}

Semantic roles & 50–950 ramp

primary
#B45FFC
secondary
#D9F3C3
accent
#E60069
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B45FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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