#B198EA#B198EA

#B198EA is a light, moderate violet. Relative luminance 0.377; OKLCH L 73.3% C 0.119 H 297.4°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#B198EA
RGBrgb(177, 152, 234)
HSLhsl(258, 66%, 76%)
HSVhsv(258, 35%, 92%)
CMYKcmyk(24.4%, 35%, 0%, 8.2%)
CIE-LABlab(67.83, 26.06, -38.00)
CIE-LCHlch(67.83, 46.08, 304.44°)
OKLaboklab(73.29% 0.0547 -0.1055)
OKLCHoklch(73.29% 0.119 297.4)
XYZxyz(44.2076, 37.7437, 82.7822)
Luminance0.3774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B198EA #D1EA98
analogous
#98A8EA #B198EA #DA98EA
triadic
#B198EA #EAB198 #98EAB1
tetradic
#B198EA #EA98A8 #D1EA98 #98EADA
square
#B198EA #EA98A8 #D1EA98 #98EADA
split-complementary
#B198EA #EADA98 #A8EA98
monochromatic
#6432D5 #8B65E0 #B198EA #D7CBF4 #ECE6FA

Accessibility & contrast

On white

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

On black

8.55
#B198EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B198EA
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B198EA#FFFFFF#000000##000000
##B198EA1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A6ED
Deuteranopia (green-blind)
#87A4E8
Tritanopia (blue-blind)
#A6A6B6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b198ea;
/* rgb */ color: rgb(177, 152, 234);
/* oklch */ color: oklch(73.3% 0.119 297.4);
Tailwind
colors: {
  custom: {
    50: '#c9b6f1',
    500: '#b198ea',
    950: '#000000',
  },
}
SCSS
$custom: #b198ea;
$custom-light: #c9b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b198ea",
  "rgb": {
    "r": 177,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 258.293,
    "s": 66.129,
    "l": 75.686
  },
  "oklch": {
    "l": 0.73292,
    "c": 0.11885,
    "h": 297.4
  },
  "luminance": 0.37744
}

Semantic roles & 50–950 ramp

primary
#B198EA
secondary
#EAF1DA
accent
#CE1896
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B198EA

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

Preview Lab → · Contrast checker → · Palette generator →

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