#B045E6#B045E6

#B045E6 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.7% C 0.237 H 311.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B045E6
RGBrgb(176, 69, 230)
HSLhsl(280, 76%, 59%)
HSVhsv(280, 70%, 90%)
CMYKcmyk(23.5%, 70%, 0%, 9.8%)
CIE-LABlab(50.92, 67.57, -62.61)
CIE-LCHlch(50.92, 92.12, 317.18°)
OKLaboklab(60.68% 0.1582 -0.1769)
OKLCHoklch(60.68% 0.237 311.8)
XYZxyz(34.3129, 19.2004, 76.7461)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045E6 #7BE645
analogous
#5F45E6 #B045E6 #E645CB
triadic
#B045E6 #E6B045 #45E6B0
tetradic
#B045E6 #E65F45 #7BE645 #45CBE6
square
#B045E6 #E65F45 #7BE645 #45CBE6
split-complementary
#B045E6 #CBE645 #45E65F
monochromatic
#6E159C #951CD2 #B045E6 #C77BED #DEB1F5

Accessibility & contrast

On white

4.34
#B045E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B045E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B045E6
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045E6#FFFFFF#000000##000000
##B045E61.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EB
Deuteranopia (green-blind)
#317BE2
Tritanopia (blue-blind)
#A96891
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b045e6;
/* rgb */ color: rgb(176, 69, 230);
/* oklch */ color: oklch(60.7% 0.237 311.8);
Tailwind
colors: {
  custom: {
    50: '#cc81ef',
    500: '#b045e6',
    950: '#000000',
  },
}
SCSS
$custom: #b045e6;
$custom-light: #cc81ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b045e6",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 230
  },
  "hsl": {
    "h": 279.876,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60678,
    "c": 0.23732,
    "h": 311.8
  },
  "luminance": 0.192
}

Semantic roles & 50–950 ramp

primary
#B045E6
secondary
#B9E3A4
accent
#F33575
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B045E6

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

Preview Lab → · Contrast checker → · Palette generator →

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