#B199F9#B199F9

#B199F9 is a light, vivid violet. Relative luminance 0.390; OKLCH L 74.2% C 0.137 H 294.3°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#B199F9
RGBrgb(177, 153, 249)
HSLhsl(255, 89%, 79%)
HSVhsv(255, 39%, 98%)
CMYKcmyk(28.9%, 38.6%, 0%, 2.4%)
CIE-LABlab(68.73, 29.10, -44.81)
CIE-LCHlch(68.73, 53.43, 303.01°)
OKLaboklab(74.19% 0.0565 -0.1251)
OKLCHoklch(74.19% 0.137 294.3)
XYZxyz(46.6174, 38.9684, 94.6698)
Luminance0.3897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B199F9 #E1F999
analogous
#99B1F9 #B199F9 #E199F9
triadic
#B199F9 #F9B199 #99F9B1
tetradic
#B199F9 #F999B1 #E1F999 #99F9E1
square
#B199F9 #F999B1 #E1F999 #99F9E1
split-complementary
#B199F9 #F9E199 #B1F999
monochromatic
#5925F2 #855FF6 #B199F9 #DDD3FC #E9E2FD

Accessibility & contrast

On white

2.39
#B199F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#B199F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B199F9
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B199F9#FFFFFF#000000##000000
##B199F91.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA9FD
Deuteranopia (green-blind)
#81A6F7
Tritanopia (blue-blind)
#A1AABD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b199f9;
/* rgb */ color: rgb(177, 153, 249);
/* oklch */ color: oklch(74.2% 0.137 294.3);
Tailwind
colors: {
  custom: {
    50: '#cab7fb',
    500: '#b199f9',
    950: '#000000',
  },
}
SCSS
$custom: #b199f9;
$custom-light: #cab7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b199f9",
  "rgb": {
    "r": 177,
    "g": 153,
    "b": 249
  },
  "hsl": {
    "h": 255,
    "s": 88.889,
    "l": 78.824
  },
  "oklch": {
    "l": 0.74192,
    "c": 0.13732,
    "h": 294.3
  },
  "luminance": 0.38969
}

Semantic roles & 50–950 ramp

primary
#B199F9
secondary
#EDF5D6
accent
#E600AC
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #B199F9

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

Preview Lab → · Contrast checker → · Palette generator →

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