#B048EF#B048EF

#B048EF is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.6% C 0.242 H 309.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B048EF
RGBrgb(176, 72, 239)
HSLhsl(277, 84%, 61%)
HSVhsv(277, 70%, 94%)
CMYKcmyk(26.4%, 69.9%, 0%, 6.3%)
CIE-LABlab(51.95, 68.21, -66.02)
CIE-LCHlch(51.95, 94.93, 315.94°)
OKLaboklab(61.6% 0.1541 -0.1869)
OKLCHoklch(61.6% 0.242 309.5)
XYZxyz(35.7987, 20.0975, 83.6380)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048EF #87EF48
analogous
#5C48EF #B048EF #EF48DB
triadic
#B048EF #EFB048 #48EFB0
tetradic
#B048EF #EF5C48 #87EF48 #48DBEF
square
#B048EF #EF5C48 #87EF48 #48DBEF
split-complementary
#B048EF #DBEF48 #48EF5C
monochromatic
#720FAD #9714E6 #B048EF #C880F4 #E1B9F9

Accessibility & contrast

On white

4.18
#B048EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B048EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B048EF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048EF#FFFFFF#000000##000000
##B048EF1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#257DEB
Tritanopia (blue-blind)
#A76D97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b048ef;
/* rgb */ color: rgb(176, 72, 239);
/* oklch */ color: oklch(61.6% 0.242 309.5);
Tailwind
colors: {
  custom: {
    50: '#cd83f5',
    500: '#b048ef',
    950: '#000000',
  },
}
SCSS
$custom: #b048ef;
$custom-light: #cd83f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b048ef",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 239
  },
  "hsl": {
    "h": 277.365,
    "s": 83.92,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61597,
    "c": 0.24229,
    "h": 309.5
  },
  "luminance": 0.20097
}

Semantic roles & 50–950 ramp

primary
#B048EF
secondary
#C2E9AA
accent
#E00558
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140B17
muted
#837C85

Preview Lab

Preview with #B048EF

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

Preview Lab → · Contrast checker → · Palette generator →

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