#B45FEA#B45FEA

#B45FEA is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.5% C 0.209 H 310.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B45FEA
RGBrgb(180, 95, 234)
HSLhsl(277, 77%, 65%)
HSVhsv(277, 59%, 92%)
CMYKcmyk(23.1%, 59.4%, 0%, 8.2%)
CIE-LABlab(55.92, 57.59, -56.80)
CIE-LCHlch(55.92, 80.89, 315.39°)
OKLaboklab(64.46% 0.1342 -0.1599)
OKLCHoklch(64.46% 0.209 310)
XYZxyz(37.7630, 23.8290, 80.4361)
Luminance0.2383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FEA #95EA5F
analogous
#6F5FEA #B45FEA #EA5FDA
triadic
#B45FEA #EAB45F #5FEAB4
tetradic
#B45FEA #EA6F5F #95EA5F #5FDAEA
square
#B45FEA #EA6F5F #95EA5F #5FDAEA
split-complementary
#B45FEA #DAEA5F #5FEA6F
monochromatic
#7918B7 #9B29E3 #B45FEA #CD95F1 #E7CBF8

Accessibility & contrast

On white

3.64
#B45FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#B45FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FEA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FEA#FFFFFF#000000##000000
##B45FEA1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2882EE
Deuteranopia (green-blind)
#4F87E7
Tritanopia (blue-blind)
#AD799C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b45fea;
/* rgb */ color: rgb(180, 95, 234);
/* oklch */ color: oklch(64.5% 0.209 310.0);
Tailwind
colors: {
  custom: {
    50: '#ce90f1',
    500: '#b45fea',
    950: '#000000',
  },
}
SCSS
$custom: #b45fea;
$custom-light: #ce90f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fea",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 234
  },
  "hsl": {
    "h": 276.691,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64463,
    "c": 0.20875,
    "h": 310
  },
  "luminance": 0.23828
}

Semantic roles & 50–950 ramp

primary
#B45FEA
secondary
#CDEABA
accent
#D90C5C
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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