#B148FA#B148FA

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

Color values

HEX#B148FA
RGBrgb(177, 72, 250)
HSLhsl(275, 95%, 63%)
HSVhsv(275, 71%, 98%)
CMYKcmyk(29.2%, 71.2%, 0%, 2%)
CIE-LABlab(52.82, 70.72, -70.74)
CIE-LCHlch(52.82, 100.03, 314.99°)
OKLaboklab(62.48% 0.1538 -0.2008)
OKLCHoklch(62.48% 0.253 307.5)
XYZxyz(37.7005, 20.8845, 92.4690)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B148FA #91FA48
analogous
#5848FA #B148FA #FA48EA
triadic
#B148FA #FAB148 #48FAB1
tetradic
#B148FA #FA5848 #91FA48 #48EAFA
square
#B148FA #FA5848 #91FA48 #48EAFA
split-complementary
#B148FA #EAFA48 #48FA58
monochromatic
#7505C2 #980CF8 #B148FA #CA84FC #E4BFFD

Accessibility & contrast

On white

4.06
#B148FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#B148FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B148FA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B148FA#FFFFFF#000000##000000
##B148FA1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#007FF6
Tritanopia (blue-blind)
#A5729D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b148fa;
/* rgb */ color: rgb(177, 72, 250);
/* oklch */ color: oklch(62.5% 0.253 307.5);
Tailwind
colors: {
  custom: {
    50: '#ce84fd',
    500: '#b148fa',
    950: '#000000',
  },
}
SCSS
$custom: #b148fa;
$custom-light: #ce84fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b148fa",
  "rgb": {
    "r": 177,
    "g": 72,
    "b": 250
  },
  "hsl": {
    "h": 275.393,
    "s": 94.681,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62482,
    "c": 0.25294,
    "h": 307.5
  },
  "luminance": 0.20884
}

Semantic roles & 50–950 ramp

primary
#B148FA
secondary
#C9EFAF
accent
#E6005E
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140B18
muted
#837C86

Preview Lab

Preview with #B148FA

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

Preview Lab → · Contrast checker → · Palette generator →

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