#B199ED#B199ED

#B199ED is a light, vivid violet. Relative luminance 0.382; OKLCH L 73.6% C 0.121 H 296.4°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#B199ED
RGBrgb(177, 153, 237)
HSLhsl(257, 70%, 76%)
HSVhsv(257, 35%, 93%)
CMYKcmyk(25.3%, 35.4%, 0%, 7.1%)
CIE-LABlab(68.20, 26.20, -39.07)
CIE-LCHlch(68.20, 47.05, 303.85°)
OKLaboklab(73.62% 0.054 -0.1086)
OKLCHoklch(73.62% 0.121 296.4)
XYZxyz(44.8052, 38.2436, 85.1256)
Luminance0.3824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B199ED #D5ED99
analogous
#99ABED #B199ED #DB99ED
triadic
#B199ED #EDB199 #99EDB1
tetradic
#B199ED #ED99AB #D5ED99 #99EDDB
square
#B199ED #ED99AB #D5ED99 #99EDDB
split-complementary
#B199ED #EDDB99 #ABED99
monochromatic
#6131DB #8965E4 #B199ED #D9CDF6 #EBE5FA

Accessibility & contrast

On white

2.43
#B199ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#B199ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B199ED
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B199ED#FFFFFF#000000##000000
##B199ED1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A7F0
Deuteranopia (green-blind)
#87A5EB
Tritanopia (blue-blind)
#A5A7B8
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b199ed;
/* rgb */ color: rgb(177, 153, 237);
/* oklch */ color: oklch(73.6% 0.121 296.4);
Tailwind
colors: {
  custom: {
    50: '#cab7f3',
    500: '#b199ed',
    950: '#000000',
  },
}
SCSS
$custom: #b199ed;
$custom-light: #cab7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b199ed",
  "rgb": {
    "r": 177,
    "g": 153,
    "b": 237
  },
  "hsl": {
    "h": 257.143,
    "s": 70,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73616,
    "c": 0.12128,
    "h": 296.4
  },
  "luminance": 0.38244
}

Semantic roles & 50–950 ramp

primary
#B199ED
secondary
#EBF2D9
accent
#D2149C
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B199ED

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

Preview Lab → · Contrast checker → · Palette generator →

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