#B498EF#B498EF

#B498EF is a light, vivid violet. Relative luminance 0.384; OKLCH L 73.8% C 0.126 H 298.1°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#B498EF
RGBrgb(180, 152, 239)
HSLhsl(259, 73%, 77%)
HSVhsv(259, 36%, 94%)
CMYKcmyk(24.7%, 36.4%, 0%, 6.3%)
CIE-LABlab(68.31, 28.10, -39.98)
CIE-LCHlch(68.31, 48.87, 305.10°)
OKLaboklab(73.79% 0.0593 -0.1111)
OKLCHoklch(73.79% 0.126 298.1)
XYZxyz(45.6270, 38.3914, 86.6511)
Luminance0.3839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B498EF #D3EF98
analogous
#98A8EF #B498EF #DF98EF
triadic
#B498EF #EFB498 #98EFB4
tetradic
#B498EF #EF98A8 #D3EF98 #98EFDF
square
#B498EF #EF98A8 #D3EF98 #98EFDF
split-complementary
#B498EF #EFDF98 #A8EF98
monochromatic
#672EDF #8D63E7 #B498EF #DBCDF7 #ECE5FB

Accessibility & contrast

On white

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

On black

8.68
#B498EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B498EF
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B498EF#FFFFFF#000000##000000
##B498EF1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A7F2
Deuteranopia (green-blind)
#87A6ED
Tritanopia (blue-blind)
#A9A7B8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b498ef;
/* rgb */ color: rgb(180, 152, 239);
/* oklch */ color: oklch(73.8% 0.126 298.1);
Tailwind
colors: {
  custom: {
    50: '#ccb6f4',
    500: '#b498ef',
    950: '#000000',
  },
}
SCSS
$custom: #b498ef;
$custom-light: #ccb6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b498ef",
  "rgb": {
    "r": 180,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 259.31,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.73789,
    "c": 0.12596,
    "h": 298.1
  },
  "luminance": 0.38392
}

Semantic roles & 50–950 ramp

primary
#B498EF
secondary
#EAF3D8
accent
#D51096
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B498EF

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

Preview Lab → · Contrast checker → · Palette generator →

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