#B498EE#B498EE

#B498EE is a light, vivid violet. Relative luminance 0.383; OKLCH L 73.7% C 0.125 H 298.3°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#B498EE
RGBrgb(180, 152, 238)
HSLhsl(260, 72%, 76%)
HSVhsv(260, 36%, 93%)
CMYKcmyk(24.4%, 36.1%, 0%, 6.7%)
CIE-LABlab(68.27, 27.87, -39.50)
CIE-LCHlch(68.27, 48.34, 305.20°)
OKLaboklab(73.74% 0.059 -0.1098)
OKLCHoklch(73.74% 0.125 298.3)
XYZxyz(45.4797, 38.3325, 85.8752)
Luminance0.3833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B498EE #D2EE98
analogous
#98A7EE #B498EE #DF98EE
triadic
#B498EE #EEB498 #98EEB4
tetradic
#B498EE #EE98A7 #D2EE98 #98EEDF
square
#B498EE #EE98A7 #D2EE98 #98EEDF
split-complementary
#B498EE #EEDF98 #A7EE98
monochromatic
#682FDD #8E63E5 #B498EE #DACDF7 #ECE5FB

Accessibility & contrast

On white

2.42
#B498EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#B498EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B498EE
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B498EE#FFFFFF#000000##000000
##B498EE1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A7F1
Deuteranopia (green-blind)
#87A6EC
Tritanopia (blue-blind)
#A9A6B8
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b498ee;
/* rgb */ color: rgb(180, 152, 238);
/* oklch */ color: oklch(73.7% 0.125 298.3);
Tailwind
colors: {
  custom: {
    50: '#ccb6f4',
    500: '#b498ee',
    950: '#000000',
  },
}
SCSS
$custom: #b498ee;
$custom-light: #ccb6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b498ee",
  "rgb": {
    "r": 180,
    "g": 152,
    "b": 238
  },
  "hsl": {
    "h": 259.535,
    "s": 71.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73742,
    "c": 0.12463,
    "h": 298.3
  },
  "luminance": 0.38333
}

Semantic roles & 50–950 ramp

primary
#B498EE
secondary
#EAF2D9
accent
#D41295
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B498EE

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

Preview Lab → · Contrast checker → · Palette generator →

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