#B648FB#B648FB

#B648FB is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 63.1% C 0.255 H 308.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B648FB
RGBrgb(182, 72, 251)
HSLhsl(277, 96%, 63%)
HSVhsv(277, 71%, 98%)
CMYKcmyk(27.5%, 71.3%, 0%, 1.6%)
CIE-LABlab(53.54, 71.85, -70.10)
CIE-LCHlch(53.54, 100.38, 315.71°)
OKLaboklab(63.15% 0.16 -0.1987)
OKLCHoklch(63.15% 0.255 308.8)
XYZxyz(39.0178, 21.5455, 93.3513)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B648FB #8DFB48
analogous
#5C48FB #B648FB #FB48E6
triadic
#B648FB #FBB648 #48FBB6
tetradic
#B648FB #FB5C48 #8DFB48 #48E6FB
square
#B648FB #FB5C48 #8DFB48 #48E6FB
split-complementary
#B648FB #E6FB48 #48FB5C
monochromatic
#7A04C4 #9E0CFA #B648FB #CE84FC #E6C0FE

Accessibility & contrast

On white

3.96
#B648FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#B648FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B648FB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B648FB#FFFFFF#000000##000000
##B648FB1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b648fb;
/* rgb */ color: rgb(182, 72, 251);
/* oklch */ color: oklch(63.1% 0.255 308.8);
Tailwind
colors: {
  custom: {
    50: '#d184fe',
    500: '#b648fb',
    950: '#000000',
  },
}
SCSS
$custom: #b648fb;
$custom-light: #d184fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b648fb",
  "rgb": {
    "r": 182,
    "g": 72,
    "b": 251
  },
  "hsl": {
    "h": 276.872,
    "s": 95.722,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6315,
    "c": 0.25518,
    "h": 308.8
  },
  "luminance": 0.21545
}

Semantic roles & 50–950 ramp

primary
#B648FB
secondary
#C8EFB0
accent
#E60058
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #B648FB

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

Preview Lab → · Contrast checker → · Palette generator →

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