#B098EA#B098EA

#B098EA is a light, moderate violet. Relative luminance 0.376; OKLCH L 73.2% C 0.119 H 296.8°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#B098EA
RGBrgb(176, 152, 234)
HSLhsl(258, 66%, 76%)
HSVhsv(258, 35%, 92%)
CMYKcmyk(24.8%, 35%, 0%, 8.2%)
CIE-LABlab(67.74, 25.76, -38.14)
CIE-LCHlch(67.74, 46.03, 304.04°)
OKLaboklab(73.21% 0.0536 -0.1059)
OKLCHoklch(73.21% 0.119 296.8)
XYZxyz(43.9806, 37.6267, 82.7716)
Luminance0.3763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B098EA #D2EA98
analogous
#98A9EA #B098EA #D998EA
triadic
#B098EA #EAB098 #98EAB0
tetradic
#B098EA #EA98A9 #D2EA98 #98EAD9
square
#B098EA #EA98A9 #D2EA98 #98EAD9
split-complementary
#B098EA #EAD998 #A9EA98
monochromatic
#6232D5 #8965E0 #B098EA #D7CBF4 #ECE6FA

Accessibility & contrast

On white

2.46
#B098EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#B098EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B098EA
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B098EA#FFFFFF#000000##000000
##B098EA1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A5ED
Deuteranopia (green-blind)
#87A4E8
Tritanopia (blue-blind)
#A5A6B6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b098ea;
/* rgb */ color: rgb(176, 152, 234);
/* oklch */ color: oklch(73.2% 0.119 296.8);
Tailwind
colors: {
  custom: {
    50: '#c9b6f1',
    500: '#b098ea',
    950: '#000000',
  },
}
SCSS
$custom: #b098ea;
$custom-light: #c9b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b098ea",
  "rgb": {
    "r": 176,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 257.561,
    "s": 66.129,
    "l": 75.686
  },
  "oklch": {
    "l": 0.73205,
    "c": 0.11871,
    "h": 296.8
  },
  "luminance": 0.37627
}

Semantic roles & 50–950 ramp

primary
#B098EA
secondary
#EAF1DA
accent
#CE1899
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B098EA

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

Preview Lab → · Contrast checker → · Palette generator →

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