#B748FB#B748FB

#B748FB is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 63.3% C 0.255 H 309.2°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B748FB
RGBrgb(183, 72, 251)
HSLhsl(277, 96%, 63%)
HSVhsv(277, 71%, 98%)
CMYKcmyk(27.1%, 71.3%, 0%, 1.6%)
CIE-LABlab(53.67, 72.04, -69.88)
CIE-LCHlch(53.67, 100.36, 315.87°)
OKLaboklab(63.27% 0.1613 -0.1981)
OKLCHoklch(63.27% 0.255 309.2)
XYZxyz(39.2549, 21.6678, 93.3625)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B748FB #8CFB48
analogous
#5D48FB #B748FB #FB48E5
triadic
#B748FB #FBB748 #48FBB7
tetradic
#B748FB #FB5D48 #8CFB48 #48E5FB
square
#B748FB #FB5D48 #8CFB48 #48E5FB
split-complementary
#B748FB #E5FB48 #48FB5D
monochromatic
#7B04C4 #9F0CFA #B748FB #CF84FC #E6C0FE

Accessibility & contrast

On white

3.94
#B748FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#B748FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B748FB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B748FB#FFFFFF#000000##000000
##B748FB1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#1982F7
Tritanopia (blue-blind)
#AD719E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b748fb;
/* rgb */ color: rgb(183, 72, 251);
/* oklch */ color: oklch(63.3% 0.255 309.2);
Tailwind
colors: {
  custom: {
    50: '#d284fe',
    500: '#b748fb',
    950: '#000000',
  },
}
SCSS
$custom: #b748fb;
$custom-light: #d284fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b748fb",
  "rgb": {
    "r": 183,
    "g": 72,
    "b": 251
  },
  "hsl": {
    "h": 277.207,
    "s": 95.722,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63271,
    "c": 0.25544,
    "h": 309.2
  },
  "luminance": 0.21667
}

Semantic roles & 50–950 ramp

primary
#B748FB
secondary
#C8EFB0
accent
#E60057
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #B748FB

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

Preview Lab → · Contrast checker → · Palette generator →

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