#B99CFA#B99CFA

#B99CFA is a light, vivid violet. Relative luminance 0.410; OKLCH L 75.5% C 0.135 H 297.3°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#B99CFA
RGBrgb(185, 156, 250)
HSLhsl(259, 90%, 80%)
HSVhsv(259, 38%, 98%)
CMYKcmyk(26%, 37.6%, 0%, 2%)
CIE-LABlab(70.17, 29.89, -43.04)
CIE-LCHlch(70.17, 52.40, 304.78°)
OKLaboklab(75.47% 0.0618 -0.1199)
OKLCHoklch(75.47% 0.135 297.3)
XYZxyz(49.1473, 40.9929, 95.7471)
Luminance0.4099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99CFA #DDFA9C
analogous
#9CAEFA #B99CFA #E89CFA
triadic
#B99CFA #FAB99C #9CFAB9
tetradic
#B99CFA #FA9CAE #DDFA9C #9CFAE8
square
#B99CFA #FA9CAE #DDFA9C #9CFAE8
split-complementary
#B99CFA #FAE89C #AEFA9C
monochromatic
#6727F4 #9062F7 #B99CFA #E2D6FD #EAE2FE

Accessibility & contrast

On white

2.28
#B99CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#B99CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99CFA
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99CFA#FFFFFF#000000##000000
##B99CFA1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ACFE
Deuteranopia (green-blind)
#88ABF8
Tritanopia (blue-blind)
#ACACBF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b99cfa;
/* rgb */ color: rgb(185, 156, 250);
/* oklch */ color: oklch(75.5% 0.135 297.3);
Tailwind
colors: {
  custom: {
    50: '#d0b9fc',
    500: '#b99cfa',
    950: '#000000',
  },
}
SCSS
$custom: #b99cfa;
$custom-light: #d0b9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b99cfa",
  "rgb": {
    "r": 185,
    "g": 156,
    "b": 250
  },
  "hsl": {
    "h": 258.511,
    "s": 90.385,
    "l": 79.608
  },
  "oklch": {
    "l": 0.75469,
    "c": 0.13488,
    "h": 297.3
  },
  "luminance": 0.40993
}

Semantic roles & 50–950 ramp

primary
#B99CFA
secondary
#ECF6D5
accent
#E6009F
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B99CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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