#B498EA#B498EA

#B498EA is a light, moderate violet. Relative luminance 0.381; OKLCH L 73.6% C 0.119 H 299.2°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#B498EA
RGBrgb(180, 152, 234)
HSLhsl(260, 66%, 76%)
HSVhsv(260, 35%, 92%)
CMYKcmyk(23.1%, 35%, 0%, 8.2%)
CIE-LABlab(68.09, 26.93, -37.57)
CIE-LCHlch(68.09, 46.23, 305.63°)
OKLaboklab(73.56% 0.0581 -0.1042)
OKLCHoklch(73.56% 0.119 299.2)
XYZxyz(44.8986, 38.1001, 82.8146)
Luminance0.3810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B498EA #CEEA98
analogous
#98A5EA #B498EA #DD98EA
triadic
#B498EA #EAB498 #98EAB4
tetradic
#B498EA #EA98A5 #CEEA98 #98EADD
square
#B498EA #EA98A5 #CEEA98 #98EADD
split-complementary
#B498EA #EADD98 #A5EA98
monochromatic
#6A32D5 #8F65E0 #B498EA #D9CBF4 #ECE6FA

Accessibility & contrast

On white

2.44
#B498EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#B498EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B498EA
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B498EA#FFFFFF#000000##000000
##B498EA1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A6ED
Deuteranopia (green-blind)
#89A5E8
Tritanopia (blue-blind)
#AAA5B6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b498ea;
/* rgb */ color: rgb(180, 152, 234);
/* oklch */ color: oklch(73.6% 0.119 299.2);
Tailwind
colors: {
  custom: {
    50: '#ccb6f1',
    500: '#b498ea',
    950: '#000000',
  },
}
SCSS
$custom: #b498ea;
$custom-light: #ccb6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b498ea",
  "rgb": {
    "r": 180,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 260.488,
    "s": 66.129,
    "l": 75.686
  },
  "oklch": {
    "l": 0.73556,
    "c": 0.11933,
    "h": 299.2
  },
  "luminance": 0.381
}

Semantic roles & 50–950 ramp

primary
#B498EA
secondary
#E9F1DA
accent
#CE1890
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B498EA

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

Preview Lab → · Contrast checker → · Palette generator →

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