#B498EB#B498EB

#B498EB is a light, vivid violet. Relative luminance 0.382; OKLCH L 73.6% C 0.121 H 298.9°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#B498EB
RGBrgb(180, 152, 235)
HSLhsl(260, 67%, 76%)
HSVhsv(260, 35%, 92%)
CMYKcmyk(23.4%, 35.3%, 0%, 7.8%)
CIE-LABlab(68.14, 27.16, -38.06)
CIE-LCHlch(68.14, 46.76, 305.52°)
OKLaboklab(73.6% 0.0584 -0.1056)
OKLCHoklch(73.6% 0.121 298.9)
XYZxyz(45.0427, 38.1577, 83.5733)
Luminance0.3816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B498EB #CFEB98
analogous
#98A5EB #B498EB #DD98EB
triadic
#B498EB #EBB498 #98EBB4
tetradic
#B498EB #EB98A5 #CFEB98 #98EBDD
square
#B498EB #EB98A5 #CFEB98 #98EBDD
split-complementary
#B498EB #EBDD98 #A5EB98
monochromatic
#6932D7 #8F65E1 #B498EB #D9CBF5 #ECE5FA

Accessibility & contrast

On white

2.43
#B498EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#B498EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B498EB
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B498EB#FFFFFF#000000##000000
##B498EB1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A6EE
Deuteranopia (green-blind)
#89A5E9
Tritanopia (blue-blind)
#AAA6B7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b498eb;
/* rgb */ color: rgb(180, 152, 235);
/* oklch */ color: oklch(73.6% 0.121 298.9);
Tailwind
colors: {
  custom: {
    50: '#ccb6f1',
    500: '#b498eb',
    950: '#000000',
  },
}
SCSS
$custom: #b498eb;
$custom-light: #ccb6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b498eb",
  "rgb": {
    "r": 180,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 260.241,
    "s": 67.48,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73602,
    "c": 0.12066,
    "h": 298.9
  },
  "luminance": 0.38158
}

Semantic roles & 50–950 ramp

primary
#B498EB
secondary
#E9F2D9
accent
#CF1691
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B498EB

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

Preview Lab → · Contrast checker → · Palette generator →

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