#B7A3FA#B7A3FA

#B7A3FA is a light, vivid violet. Relative luminance 0.432; OKLCH L 76.6% C 0.124 H 293.8°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#B7A3FA
RGBrgb(183, 163, 250)
HSLhsl(254, 90%, 81%)
HSVhsv(254, 35%, 98%)
CMYKcmyk(26.8%, 34.8%, 0%, 2%)
CIE-LABlab(71.67, 25.43, -40.72)
CIE-LCHlch(71.67, 48.00, 301.98°)
OKLaboklab(76.57% 0.05 -0.1132)
OKLCHoklch(76.57% 0.124 293.8)
XYZxyz(49.8768, 43.1631, 96.1275)
Luminance0.4316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A3FA #E6FAA3
analogous
#A3BAFA #B7A3FA #E2A3FA
triadic
#B7A3FA #FAB7A3 #A3FAB7
tetradic
#B7A3FA #FAA3BA #E6FAA3 #A3FAE2
square
#B7A3FA #FAA3BA #E6FAA3 #A3FAE2
split-complementary
#B7A3FA #FAE2A3 #BAFAA3
monochromatic
#5C2FF4 #8A69F7 #B7A3FA #E4DDFD #E8E2FD

Accessibility & contrast

On white

2.18
#B7A3FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#B7A3FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A3FA
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A3FA#FFFFFF#000000##000000
##B7A3FA1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB1FD
Deuteranopia (green-blind)
#8EAEF8
Tritanopia (blue-blind)
#A9B2C3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b7a3fa;
/* rgb */ color: rgb(183, 163, 250);
/* oklch */ color: oklch(76.6% 0.124 293.8);
Tailwind
colors: {
  custom: {
    50: '#cebefc',
    500: '#b7a3fa',
    950: '#000000',
  },
}
SCSS
$custom: #b7a3fa;
$custom-light: #cebefc;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a3fa",
  "rgb": {
    "r": 183,
    "g": 163,
    "b": 250
  },
  "hsl": {
    "h": 253.793,
    "s": 89.691,
    "l": 80.98
  },
  "oklch": {
    "l": 0.76567,
    "c": 0.1238,
    "h": 293.8
  },
  "luminance": 0.43164
}

Semantic roles & 50–950 ramp

primary
#B7A3FA
secondary
#EEF6D5
accent
#E600B1
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B7A3FA

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

Preview Lab → · Contrast checker → · Palette generator →

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