#B7A7F3#B7A7F3

#B7A7F3 is a light, moderate violet. Relative luminance 0.442; OKLCH L 77.0% C 0.108 H 293.4°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#B7A7F3
RGBrgb(183, 167, 243)
HSLhsl(253, 76%, 80%)
HSVhsv(253, 31%, 95%)
CMYKcmyk(24.7%, 31.3%, 0%, 4.7%)
CIE-LABlab(72.35, 21.54, -35.86)
CIE-LCHlch(72.35, 41.83, 300.99°)
OKLaboklab(76.99% 0.0429 -0.0993)
OKLCHoklch(76.99% 0.108 293.4)
XYZxyz(49.5210, 44.1751, 90.6943)
Luminance0.4418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A7F3 #E3F3A7
analogous
#A7BDF3 #B7A7F3 #DDA7F3
triadic
#B7A7F3 #F3B7A7 #A7F3B7
tetradic
#B7A7F3 #F3A7BD #E3F3A7 #A7F3DD
square
#B7A7F3 #F3A7BD #E3F3A7 #A7F3DD
split-complementary
#B7A7F3 #F3DDA7 #BDF3A7
monochromatic
#5F3BE4 #8B71EC #B7A7F3 #E3DDFA #E9E4FB

Accessibility & contrast

On white

2.14
#B7A7F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#B7A7F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A7F3
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A7F3#FFFFFF#000000##000000
##B7A7F31.002.149.849.84
#FFFFFF2.141.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B2F6
Deuteranopia (green-blind)
#95B0F1
Tritanopia (blue-blind)
#ABB4C2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b7a7f3;
/* rgb */ color: rgb(183, 167, 243);
/* oklch */ color: oklch(77.0% 0.108 293.4);
Tailwind
colors: {
  custom: {
    50: '#cec1f7',
    500: '#b7a7f3',
    950: '#000000',
  },
}
SCSS
$custom: #b7a7f3;
$custom-light: #cec1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a7f3",
  "rgb": {
    "r": 183,
    "g": 167,
    "b": 243
  },
  "hsl": {
    "h": 252.632,
    "s": 76,
    "l": 80.392
  },
  "oklch": {
    "l": 0.76993,
    "c": 0.10815,
    "h": 293.4
  },
  "luminance": 0.44176
}

Semantic roles & 50–950 ramp

primary
#B7A7F3
secondary
#EDF3D8
accent
#D80DAD
background
#FCFBFF
surface
#F9F7FE
border
#D2D0D6
text
#141217
muted
#828185

Preview Lab

Preview with #B7A7F3

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

Preview Lab → · Contrast checker → · Palette generator →

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