#B048E5#B048E5

#B048E5 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.9% C 0.233 H 311.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B048E5
RGBrgb(176, 72, 229)
HSLhsl(280, 75%, 59%)
HSVhsv(280, 69%, 90%)
CMYKcmyk(23.1%, 68.6%, 0%, 10.2%)
CIE-LABlab(51.29, 66.13, -61.44)
CIE-LCHlch(51.29, 90.27, 317.11°)
OKLaboklab(60.92% 0.1553 -0.1735)
OKLCHoklch(60.92% 0.233 311.8)
XYZxyz(34.3621, 19.5229, 76.0717)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048E5 #7DE548
analogous
#6248E5 #B048E5 #E548CC
triadic
#B048E5 #E5B048 #48E5B0
tetradic
#B048E5 #E56248 #7DE548 #48CCE5
square
#B048E5 #E56248 #7DE548 #48CCE5
split-complementary
#B048E5 #CCE548 #48E562
monochromatic
#6F169C #951ED2 #B048E5 #C77EED #DEB3F4

Accessibility & contrast

On white

4.28
#B048E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#B048E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B048E5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048E5#FFFFFF#000000##000000
##B048E51.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#367CE2
Tritanopia (blue-blind)
#AA6991
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b048e5;
/* rgb */ color: rgb(176, 72, 229);
/* oklch */ color: oklch(60.9% 0.233 311.8);
Tailwind
colors: {
  custom: {
    50: '#cc83ee',
    500: '#b048e5',
    950: '#000000',
  },
}
SCSS
$custom: #b048e5;
$custom-light: #cc83ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b048e5",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 279.745,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60923,
    "c": 0.23285,
    "h": 311.8
  },
  "luminance": 0.19522
}

Semantic roles & 50–950 ramp

primary
#B048E5
secondary
#BAE3A6
accent
#F23675
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B048E5

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

Preview Lab → · Contrast checker → · Palette generator →

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