#B498FA#B498FA

#B498FA is a light, vivid violet. Relative luminance 0.391; OKLCH L 74.3% C 0.140 H 296.0°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#B498FA
RGBrgb(180, 152, 250)
HSLhsl(257, 91%, 79%)
HSVhsv(257, 39%, 98%)
CMYKcmyk(28%, 39.2%, 0%, 2%)
CIE-LABlab(68.80, 30.73, -45.23)
CIE-LCHlch(68.80, 54.68, 304.20°)
OKLaboklab(74.32% 0.0615 -0.1263)
OKLCHoklch(74.32% 0.14 296)
XYZxyz(47.3018, 39.0613, 95.4715)
Luminance0.3906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B498FA #DEFA98
analogous
#98ADFA #B498FA #E598FA
triadic
#B498FA #FAB498 #98FAB4
tetradic
#B498FA #FA98AD #DEFA98 #98FAE5
square
#B498FA #FA98AD #DEFA98 #98FAE5
split-complementary
#B498FA #FAE598 #ADFA98
monochromatic
#5F23F4 #8A5EF7 #B498FA #DFD2FD #EAE2FE

Accessibility & contrast

On white

2.38
#B498FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#B498FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B498FA
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B498FA#FFFFFF#000000##000000
##B498FA1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA8FE
Deuteranopia (green-blind)
#81A7F7
Tritanopia (blue-blind)
#A5A9BD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b498fa;
/* rgb */ color: rgb(180, 152, 250);
/* oklch */ color: oklch(74.3% 0.140 296.0);
Tailwind
colors: {
  custom: {
    50: '#ccb6fc',
    500: '#b498fa',
    950: '#000000',
  },
}
SCSS
$custom: #b498fa;
$custom-light: #ccb6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b498fa",
  "rgb": {
    "r": 180,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 257.143,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.7432,
    "c": 0.14048,
    "h": 296
  },
  "luminance": 0.39062
}

Semantic roles & 50–950 ramp

primary
#B498FA
secondary
#ECF6D5
accent
#E600A4
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B498FA

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

Preview Lab → · Contrast checker → · Palette generator →

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