#B498DB#B498DB

#B498DB is a light, moderate violet. Relative luminance 0.373; OKLCH L 72.9% C 0.100 H 303.2°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#B498DB
RGBrgb(180, 152, 219)
HSLhsl(265, 48%, 73%)
HSVhsv(265, 31%, 86%)
CMYKcmyk(17.8%, 30.6%, 0%, 14.1%)
CIE-LABlab(67.48, 23.51, -30.26)
CIE-LCHlch(67.48, 38.32, 307.84°)
OKLaboklab(72.89% 0.0545 -0.0833)
OKLCHoklch(72.89% 0.1 303.2)
XYZxyz(42.8342, 37.2743, 71.9422)
Luminance0.3727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B498DB #BFDB98
analogous
#989DDB #B498DB #D698DB
triadic
#B498DB #DBB498 #98DBB4
tetradic
#B498DB #DB989D #BFDB98 #98DBD6
square
#B498DB #DB989D #BFDB98 #98DBD6
split-complementary
#B498DB #DBD698 #9DDB98
monochromatic
#7240B8 #936BCB #B498DB #D5C5EB #EEE8F7

Accessibility & contrast

On white

2.48
#B498DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#B498DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B498DB
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B498DB#FFFFFF#000000##000000
##B498DB1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA4DE
Deuteranopia (green-blind)
#8FA4D9
Tritanopia (blue-blind)
#AEA2B0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b498db;
/* rgb */ color: rgb(180, 152, 219);
/* oklch */ color: oklch(72.9% 0.100 303.2);
Tailwind
colors: {
  custom: {
    50: '#cbb6e6',
    500: '#b498db',
    950: '#000000',
  },
}
SCSS
$custom: #b498db;
$custom-light: #cbb6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b498db",
  "rgb": {
    "r": 180,
    "g": 152,
    "b": 219
  },
  "hsl": {
    "h": 265.075,
    "s": 48.201,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72887,
    "c": 0.09951,
    "h": 303.2
  },
  "luminance": 0.37274
}

Semantic roles & 50–950 ramp

primary
#B498DB
secondary
#E7EEDD
accent
#BB2A7F
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B498DB

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

Preview Lab → · Contrast checker → · Palette generator →

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