#B45CE7#B45CE7

#B45CE7 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.9% C 0.210 H 311.0°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B45CE7
RGBrgb(180, 92, 231)
HSLhsl(278, 74%, 63%)
HSVhsv(278, 60%, 91%)
CMYKcmyk(22.1%, 60.2%, 0%, 9.4%)
CIE-LABlab(55.20, 58.40, -56.26)
CIE-LCHlch(55.20, 81.09, 316.07°)
OKLaboklab(63.89% 0.1378 -0.1583)
OKLCHoklch(63.89% 0.21 311)
XYZxyz(37.0707, 23.1279, 78.0971)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CE7 #8FE75C
analogous
#6E5CE7 #B45CE7 #E75CD4
triadic
#B45CE7 #E7B45C #5CE7B4
tetradic
#B45CE7 #E76E5C #8FE75C #5CD4E7
square
#B45CE7 #E76E5C #8FE75C #5CD4E7
split-complementary
#B45CE7 #D4E75C #5CE76E
monochromatic
#781AAF #9B27DF #B45CE7 #CD91EF #E5C7F7

Accessibility & contrast

On white

3.73
#B45CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#B45CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CE7
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CE7#FFFFFF#000000##000000
##B45CE71.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2580EB
Deuteranopia (green-blind)
#4F86E4
Tritanopia (blue-blind)
#AE7699
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b45ce7;
/* rgb */ color: rgb(180, 92, 231);
/* oklch */ color: oklch(63.9% 0.210 311.0);
Tailwind
colors: {
  custom: {
    50: '#ce8fef',
    500: '#b45ce7',
    950: '#000000',
  },
}
SCSS
$custom: #b45ce7;
$custom-light: #ce8fef;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ce7",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 277.986,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63889,
    "c": 0.20989,
    "h": 311
  },
  "luminance": 0.23127
}

Semantic roles & 50–950 ramp

primary
#B45CE7
secondary
#C9E8B7
accent
#D60F58
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B45CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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