#B99FF2#B99FF2

#B99FF2 is a light, moderate violet. Relative luminance 0.415; OKLCH L 75.6% C 0.120 H 297.9°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#B99FF2
RGBrgb(185, 159, 242)
HSLhsl(259, 76%, 79%)
HSVhsv(259, 34%, 95%)
CMYKcmyk(23.6%, 34.3%, 0%, 5.1%)
CIE-LABlab(70.54, 26.34, -38.11)
CIE-LCHlch(70.54, 46.33, 304.65°)
OKLaboklab(75.64% 0.0559 -0.1057)
OKLCHoklch(75.64% 0.12 297.9)
XYZxyz(48.4291, 41.5210, 89.4501)
Luminance0.4152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99FF2 #D8F29F
analogous
#9FAEF2 #B99FF2 #E29FF2
triadic
#B99FF2 #F2B99F #9FF2B9
tetradic
#B99FF2 #F29FAE #D8F29F #9FF2E2
square
#B99FF2 #F29FAE #D8F29F #9FF2E2
split-complementary
#B99FF2 #F2E29F #AEF29F
monochromatic
#6A33E3 #9269EB #B99FF2 #E0D5F9 #EBE4FB

Accessibility & contrast

On white

2.26
#B99FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#B99FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99FF2
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99FF2#FFFFFF#000000##000000
##B99FF21.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BADF5
Deuteranopia (green-blind)
#8FACF0
Tritanopia (blue-blind)
#AEADBD
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b99ff2;
/* rgb */ color: rgb(185, 159, 242);
/* oklch */ color: oklch(75.6% 0.120 297.9);
Tailwind
colors: {
  custom: {
    50: '#cfbbf6',
    500: '#b99ff2',
    950: '#000000',
  },
}
SCSS
$custom: #b99ff2;
$custom-light: #cfbbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b99ff2",
  "rgb": {
    "r": 185,
    "g": 159,
    "b": 242
  },
  "hsl": {
    "h": 258.795,
    "s": 76.147,
    "l": 78.627
  },
  "oklch": {
    "l": 0.75637,
    "c": 0.11957,
    "h": 297.9
  },
  "luminance": 0.41521
}

Semantic roles & 50–950 ramp

primary
#B99FF2
secondary
#EBF3D8
accent
#D80D99
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#141217
muted
#828185

Preview Lab

Preview with #B99FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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