#B199E4#B199E4

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

Color values

HEX#B199E4
RGBrgb(177, 153, 228)
HSLhsl(259, 58%, 75%)
HSVhsv(259, 33%, 89%)
CMYKcmyk(22.4%, 32.9%, 0%, 10.6%)
CIE-LABlab(67.82, 24.09, -34.72)
CIE-LCHlch(67.82, 42.26, 304.75°)
OKLaboklab(73.2% 0.0519 -0.0961)
OKLCHoklch(73.2% 0.109 298.4)
XYZxyz(43.5232, 37.7308, 78.3736)
Luminance0.3773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B199E4 #CCE499
analogous
#99A7E4 #B199E4 #D799E4
triadic
#B199E4 #E4B199 #99E4B1
tetradic
#B199E4 #E499A7 #CCE499 #99E4D7
square
#B199E4 #E499A7 #CCE499 #99E4D7
split-complementary
#B199E4 #E4D799 #A7E499
monochromatic
#6738CA #8C69D7 #B199E4 #D6C9F1 #ECE7F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B199E4#FFFFFF#000000##000000
##B199E41.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)
#87A5E7
Deuteranopia (green-blind)
#8BA5E2
Tritanopia (blue-blind)
#A7A5B4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b199e4;
/* rgb */ color: rgb(177, 153, 228);
/* oklch */ color: oklch(73.2% 0.109 298.4);
Tailwind
colors: {
  custom: {
    50: '#c9b7ec',
    500: '#b199e4',
    950: '#000000',
  },
}
SCSS
$custom: #b199e4;
$custom-light: #c9b7ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b199e4",
  "rgb": {
    "r": 177,
    "g": 153,
    "b": 228
  },
  "hsl": {
    "h": 259.2,
    "s": 58.14,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73203,
    "c": 0.1092,
    "h": 298.4
  },
  "luminance": 0.37731
}

Semantic roles & 50–950 ramp

primary
#B199E4
secondary
#E9F0DB
accent
#C62091
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B199E4

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

Preview Lab → · Contrast checker → · Palette generator →

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