#B199FE#B199FE

#B199FE is a light, vivid violet. Relative luminance 0.393; OKLCH L 74.4% C 0.144 H 293.5°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#B199FE
RGBrgb(177, 153, 254)
HSLhsl(254, 98%, 80%)
HSVhsv(254, 40%, 100%)
CMYKcmyk(30.3%, 39.8%, 0%, 0.4%)
CIE-LABlab(68.96, 30.33, -47.17)
CIE-LCHlch(68.96, 56.08, 302.74°)
OKLaboklab(74.44% 0.0575 -0.132)
OKLCHoklch(74.44% 0.144 293.5)
XYZxyz(47.4076, 39.2845, 98.8317)
Luminance0.3928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B199FE #E6FE99
analogous
#99B4FE #B199FE #E399FE
triadic
#B199FE #FEB199 #99FEB1
tetradic
#B199FE #FE99B4 #E6FE99 #99FEE3
square
#B199FE #FE99B4 #E6FE99 #99FEE3
split-complementary
#B199FE #FEE399 #B4FE99
monochromatic
#5420FD #835CFD #B199FE #DFD6FF #E8E1FF

Accessibility & contrast

On white

2.37
#B199FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#B199FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B199FE
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B199FE#FFFFFF#000000##000000
##B199FE1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA9FF
Deuteranopia (green-blind)
#7EA7FB
Tritanopia (blue-blind)
#A0ABBF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b199fe;
/* rgb */ color: rgb(177, 153, 254);
/* oklch */ color: oklch(74.4% 0.144 293.5);
Tailwind
colors: {
  custom: {
    50: '#cab7ff',
    500: '#b199fe',
    950: '#000000',
  },
}
SCSS
$custom: #b199fe;
$custom-light: #cab7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b199fe",
  "rgb": {
    "r": 177,
    "g": 153,
    "b": 254
  },
  "hsl": {
    "h": 254.257,
    "s": 98.058,
    "l": 79.804
  },
  "oklch": {
    "l": 0.7444,
    "c": 0.14397,
    "h": 293.5
  },
  "luminance": 0.39285
}

Semantic roles & 50–950 ramp

primary
#B199FE
secondary
#EFF7D4
accent
#E600AF
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #B199FE

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

Preview Lab → · Contrast checker → · Palette generator →

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