#B748EF#B748EF

#B748EF is a light, highly saturated violet. Relative luminance 0.209; OKLCH L 62.5% C 0.244 H 311.8°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B748EF
RGBrgb(183, 72, 239)
HSLhsl(280, 84%, 61%)
HSVhsv(280, 70%, 94%)
CMYKcmyk(23.4%, 69.9%, 0%, 6.3%)
CIE-LABlab(52.88, 69.58, -64.47)
CIE-LCHlch(52.88, 94.85, 317.18°)
OKLaboklab(62.45% 0.1629 -0.1822)
OKLCHoklch(62.45% 0.244 311.8)
XYZxyz(37.4229, 20.9350, 83.7141)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B748EF #80EF48
analogous
#6348EF #B748EF #EF48D4
triadic
#B748EF #EFB748 #48EFB7
tetradic
#B748EF #EF6348 #80EF48 #48D4EF
square
#B748EF #EF6348 #80EF48 #48D4EF
split-complementary
#B748EF #D4EF48 #48EF63
monochromatic
#780FAD #9F14E6 #B748EF #CD80F4 #E3B9F9

Accessibility & contrast

On white

4.05
#B748EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#B748EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B748EF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B748EF#FFFFFF#000000##000000
##B748EF1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#3380EB
Tritanopia (blue-blind)
#B06C97
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b748ef;
/* rgb */ color: rgb(183, 72, 239);
/* oklch */ color: oklch(62.5% 0.244 311.8);
Tailwind
colors: {
  custom: {
    50: '#d184f5',
    500: '#b748ef',
    950: '#000000',
  },
}
SCSS
$custom: #b748ef;
$custom-light: #d184f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b748ef",
  "rgb": {
    "r": 183,
    "g": 72,
    "b": 239
  },
  "hsl": {
    "h": 279.88,
    "s": 83.92,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62454,
    "c": 0.24437,
    "h": 311.8
  },
  "luminance": 0.20934
}

Semantic roles & 50–950 ramp

primary
#B748EF
secondary
#BFE9AA
accent
#E0054F
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#150C17
muted
#837D85

Preview Lab

Preview with #B748EF

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

Preview Lab → · Contrast checker → · Palette generator →

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