#B498FF#B498FF

#B498FF is a light, vivid violet. Relative luminance 0.394; OKLCH L 74.6% C 0.147 H 295.1°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#B498FF
RGBrgb(180, 152, 255)
HSLhsl(256, 100%, 80%)
HSVhsv(256, 40%, 100%)
CMYKcmyk(29.4%, 40.4%, 0%, 0%)
CIE-LABlab(69.03, 31.95, -47.59)
CIE-LCHlch(69.03, 57.32, 303.88°)
OKLaboklab(74.57% 0.0624 -0.1332)
OKLCHoklch(74.57% 0.147 295.1)
XYZxyz(48.0962, 39.3791, 99.6553)
Luminance0.3938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B498FF #E3FF98
analogous
#98AFFF #B498FF #E898FF
triadic
#B498FF #FFB498 #98FFB4
tetradic
#B498FF #FF98AF #E3FF98 #98FFE8
square
#B498FF #FF98AF #E3FF98 #98FFE8
split-complementary
#B498FF #FFE898 #AFFF98
monochromatic
#5B1EFF #875BFF #B498FF #E1D5FF #E9E0FF

Accessibility & contrast

On white

2.37
#B498FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#B498FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B498FF
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B498FF#FFFFFF#000000##000000
##B498FF1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#7EA7FC
Tritanopia (blue-blind)
#A4AABF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b498ff;
/* rgb */ color: rgb(180, 152, 255);
/* oklch */ color: oklch(74.6% 0.147 295.1);
Tailwind
colors: {
  custom: {
    50: '#cdb6ff',
    500: '#b498ff',
    950: '#000000',
  },
}
SCSS
$custom: #b498ff;
$custom-light: #cdb6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b498ff",
  "rgb": {
    "r": 180,
    "g": 152,
    "b": 255
  },
  "hsl": {
    "h": 256.311,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.74569,
    "c": 0.14705,
    "h": 295.1
  },
  "luminance": 0.3938
}

Semantic roles & 50–950 ramp

primary
#B498FF
secondary
#EEF7D4
accent
#E600A7
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B498FF

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

Preview Lab → · Contrast checker → · Palette generator →

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