#B198FA#B198FA

#B198FA is a light, vivid violet. Relative luminance 0.387; OKLCH L 74.1% C 0.140 H 294.5°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#B198FA
RGBrgb(177, 152, 250)
HSLhsl(255, 91%, 79%)
HSVhsv(255, 39%, 98%)
CMYKcmyk(29.2%, 39.2%, 0%, 2%)
CIE-LABlab(68.54, 29.91, -45.65)
CIE-LCHlch(68.54, 54.58, 303.23°)
OKLaboklab(74.06% 0.058 -0.1276)
OKLCHoklch(74.06% 0.14 294.5)
XYZxyz(46.6108, 38.7050, 95.4391)
Luminance0.3871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B198FA #E1FA98
analogous
#98B0FA #B198FA #E298FA
triadic
#B198FA #FAB198 #98FAB1
tetradic
#B198FA #FA98B0 #E1FA98 #98FAE2
square
#B198FA #FA98B0 #E1FA98 #98FAE2
split-complementary
#B198FA #FAE298 #B0FA98
monochromatic
#5923F4 #855EF7 #B198FA #DDD2FD #E9E2FE

Accessibility & contrast

On white

2.40
#B198FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#B198FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B198FA
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B198FA#FFFFFF#000000##000000
##B198FA1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA8FE
Deuteranopia (green-blind)
#7FA6F8
Tritanopia (blue-blind)
#A1A9BD
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b198fa;
/* rgb */ color: rgb(177, 152, 250);
/* oklch */ color: oklch(74.1% 0.140 294.5);
Tailwind
colors: {
  custom: {
    50: '#cab6fc',
    500: '#b198fa',
    950: '#000000',
  },
}
SCSS
$custom: #b198fa;
$custom-light: #cab6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b198fa",
  "rgb": {
    "r": 177,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 255.306,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.74061,
    "c": 0.14018,
    "h": 294.5
  },
  "luminance": 0.38706
}

Semantic roles & 50–950 ramp

primary
#B198FA
secondary
#EDF6D5
accent
#E600AB
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #B198FA

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

Preview Lab → · Contrast checker → · Palette generator →

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