#B45CF2#B45CF2

#B45CF2 is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.6% C 0.221 H 308.4°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B45CF2
RGBrgb(180, 92, 242)
HSLhsl(275, 85%, 65%)
HSVhsv(275, 62%, 95%)
CMYKcmyk(25.6%, 62%, 0%, 5.1%)
CIE-LABlab(55.86, 60.78, -61.37)
CIE-LCHlch(55.86, 86.38, 314.72°)
OKLaboklab(64.57% 0.1376 -0.1733)
OKLCHoklch(64.57% 0.221 308.4)
XYZxyz(38.6733, 23.7690, 86.5377)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CF2 #9AF25C
analogous
#695CF2 #B45CF2 #F25CE5
triadic
#B45CF2 #F2B45C #5CF2B4
tetradic
#B45CF2 #F2695C #9AF25C #5CE5F2
square
#B45CF2 #F2695C #9AF25C #5CE5F2
split-complementary
#B45CF2 #E5F25C #5CF269
monochromatic
#7910C4 #9A23ED #B45CF2 #CE95F7 #E8CDFB

Accessibility & contrast

On white

3.65
#B45CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#B45CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CF2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CF2#FFFFFF#000000##000000
##B45CF21.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0182F7
Deuteranopia (green-blind)
#4487EF
Tritanopia (blue-blind)
#AB7A9F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b45cf2;
/* rgb */ color: rgb(180, 92, 242);
/* oklch */ color: oklch(64.6% 0.221 308.4);
Tailwind
colors: {
  custom: {
    50: '#ce8ff7',
    500: '#b45cf2',
    950: '#000000',
  },
}
SCSS
$custom: #b45cf2;
$custom-light: #ce8ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#b45cf2",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 242
  },
  "hsl": {
    "h": 275.2,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64571,
    "c": 0.22124,
    "h": 308.4
  },
  "luminance": 0.23768
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B45CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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