#B45DF2#B45DF2

#B45DF2 is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.7% C 0.220 H 308.3°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B45DF2
RGBrgb(180, 93, 242)
HSLhsl(275, 85%, 66%)
HSVhsv(275, 62%, 95%)
CMYKcmyk(25.6%, 61.6%, 0%, 5.1%)
CIE-LABlab(56.03, 60.30, -61.09)
CIE-LCHlch(56.03, 85.84, 314.63°)
OKLaboklab(64.7% 0.1364 -0.1724)
OKLCHoklch(64.7% 0.22 308.3)
XYZxyz(38.7605, 23.9434, 86.5668)
Luminance0.2394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45DF2 #9BF25D
analogous
#695DF2 #B45DF2 #F25DE5
triadic
#B45DF2 #F2B45D #5DF2B4
tetradic
#B45DF2 #F2695D #9BF25D #5DE5F2
square
#B45DF2 #F2695D #9BF25D #5DE5F2
split-complementary
#B45DF2 #E5F25D #5DF269
monochromatic
#7910C5 #9A24ED #B45DF2 #CE96F7 #E8CEFB

Accessibility & contrast

On white

3.63
#B45DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#B45DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45DF2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45DF2#FFFFFF#000000##000000
##B45DF21.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0983F7
Deuteranopia (green-blind)
#4587EF
Tritanopia (blue-blind)
#AB7B9F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b45df2;
/* rgb */ color: rgb(180, 93, 242);
/* oklch */ color: oklch(64.7% 0.220 308.3);
Tailwind
colors: {
  custom: {
    50: '#ce8ff7',
    500: '#b45df2',
    950: '#000000',
  },
}
SCSS
$custom: #b45df2;
$custom-light: #ce8ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#b45df2",
  "rgb": {
    "r": 180,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 275.034,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64698,
    "c": 0.21988,
    "h": 308.3
  },
  "luminance": 0.23943
}

Semantic roles & 50–950 ramp

primary
#B45DF2
secondary
#D1EEBD
accent
#E20460
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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