#B899F2#B899F2

#B899F2 is a light, vivid violet. Relative luminance 0.394; OKLCH L 74.5% C 0.129 H 299.3°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#B899F2
RGBrgb(184, 153, 242)
HSLhsl(261, 77%, 77%)
HSVhsv(261, 37%, 95%)
CMYKcmyk(24%, 36.8%, 0%, 5.1%)
CIE-LABlab(69.03, 29.40, -40.47)
CIE-LCHlch(69.03, 50.02, 305.99°)
OKLaboklab(74.46% 0.0631 -0.1125)
OKLCHoklch(74.46% 0.129 299.3)
XYZxyz(47.1818, 39.3834, 89.1032)
Luminance0.3938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B899F2 #D3F299
analogous
#99A7F2 #B899F2 #E599F2
triadic
#B899F2 #F2B899 #99F2B8
tetradic
#B899F2 #F299A7 #D3F299 #99F2E5
square
#B899F2 #F299A7 #D3F299 #99F2E5
split-complementary
#B899F2 #F2E599 #A7F299
monochromatic
#6C2CE4 #9263EB #B899F2 #DECFF9 #ECE4FC

Accessibility & contrast

On white

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

On black

8.88
#B899F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B899F2
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B899F2#FFFFFF#000000##000000
##B899F21.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A8F5
Deuteranopia (green-blind)
#88A8F0
Tritanopia (blue-blind)
#ADA8BA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b899f2;
/* rgb */ color: rgb(184, 153, 242);
/* oklch */ color: oklch(74.5% 0.129 299.3);
Tailwind
colors: {
  custom: {
    50: '#cfb7f6',
    500: '#b899f2',
    950: '#000000',
  },
}
SCSS
$custom: #b899f2;
$custom-light: #cfb7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b899f2",
  "rgb": {
    "r": 184,
    "g": 153,
    "b": 242
  },
  "hsl": {
    "h": 260.899,
    "s": 77.391,
    "l": 77.451
  },
  "oklch": {
    "l": 0.74464,
    "c": 0.12897,
    "h": 299.3
  },
  "luminance": 0.39384
}

Semantic roles & 50–950 ramp

primary
#B899F2
secondary
#EAF3D8
accent
#DA0C92
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#141117
muted
#828085

Preview Lab

Preview with #B899F2

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

Preview Lab → · Contrast checker → · Palette generator →

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