#B199EF#B199EF

#B199EF is a light, vivid violet. Relative luminance 0.384; OKLCH L 73.7% C 0.124 H 296.1°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#B199EF
RGBrgb(177, 153, 239)
HSLhsl(257, 73%, 77%)
HSVhsv(257, 36%, 94%)
CMYKcmyk(25.9%, 36%, 0%, 6.3%)
CIE-LABlab(68.29, 26.68, -40.03)
CIE-LCHlch(68.29, 48.11, 303.68°)
OKLaboklab(73.71% 0.0545 -0.1114)
OKLCHoklch(73.71% 0.124 296.1)
XYZxyz(45.0990, 38.3611, 86.6730)
Luminance0.3836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B199EF #D7EF99
analogous
#99ACEF #B199EF #DC99EF
triadic
#B199EF #EFB199 #99EFB1
tetradic
#B199EF #EF99AC #D7EF99 #99EFDC
square
#B199EF #EF99AC #D7EF99 #99EFDC
split-complementary
#B199EF #EFDC99 #ACEF99
monochromatic
#602FDE #8964E7 #B199EF #D9CEF7 #EBE5FB

Accessibility & contrast

On white

2.42
#B199EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#B199EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B199EF
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B199EF#FFFFFF#000000##000000
##B199EF1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A7F2
Deuteranopia (green-blind)
#86A5ED
Tritanopia (blue-blind)
#A4A8B9
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b199ef;
/* rgb */ color: rgb(177, 153, 239);
/* oklch */ color: oklch(73.7% 0.124 296.1);
Tailwind
colors: {
  custom: {
    50: '#cab7f4',
    500: '#b199ef',
    950: '#000000',
  },
}
SCSS
$custom: #b199ef;
$custom-light: #cab7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b199ef",
  "rgb": {
    "r": 177,
    "g": 153,
    "b": 239
  },
  "hsl": {
    "h": 256.744,
    "s": 72.881,
    "l": 76.863
  },
  "oklch": {
    "l": 0.7371,
    "c": 0.12396,
    "h": 296.1
  },
  "luminance": 0.38362
}

Semantic roles & 50–950 ramp

primary
#B199EF
secondary
#EBF3D8
accent
#D5119E
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B199EF

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

Preview Lab → · Contrast checker → · Palette generator →

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