#B45EF6#B45EF6

#B45EF6 is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 65.1% C 0.223 H 307.4°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B45EF6
RGBrgb(180, 94, 246)
HSLhsl(274, 89%, 67%)
HSVhsv(274, 62%, 96%)
CMYKcmyk(26.8%, 61.8%, 0%, 3.5%)
CIE-LABlab(56.45, 60.71, -62.64)
CIE-LCHlch(56.45, 87.23, 314.10°)
OKLaboklab(65.08% 0.1351 -0.177)
OKLCHoklch(65.08% 0.223 307.4)
XYZxyz(39.4562, 24.3630, 89.7949)
Luminance0.2436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45EF6 #A0F65E
analogous
#685EF6 #B45EF6 #F65EEC
triadic
#B45EF6 #F6B45E #5EF6B4
tetradic
#B45EF6 #F6685E #A0F65E #5EECF6
square
#B45EF6 #F6685E #A0F65E #5EECF6
split-complementary
#B45EF6 #ECF65E #5EF668
monochromatic
#7A0CCE #9924F3 #B45EF6 #CF98F9 #EAD2FC

Accessibility & contrast

On white

3.58
#B45EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#B45EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45EF6
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45EF6#FFFFFF#000000##000000
##B45EF61.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FB
Deuteranopia (green-blind)
#4288F3
Tritanopia (blue-blind)
#AA7DA2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b45ef6;
/* rgb */ color: rgb(180, 94, 246);
/* oklch */ color: oklch(65.1% 0.223 307.4);
Tailwind
colors: {
  custom: {
    50: '#cf90fa',
    500: '#b45ef6',
    950: '#000000',
  },
}
SCSS
$custom: #b45ef6;
$custom-light: #cf90fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ef6",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 246
  },
  "hsl": {
    "h": 273.947,
    "s": 89.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65079,
    "c": 0.22268,
    "h": 307.4
  },
  "luminance": 0.24363
}

Semantic roles & 50–950 ramp

primary
#B45EF6
secondary
#D5F0BF
accent
#E60064
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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