#B7A5F2#B7A5F2

#B7A5F2 is a light, moderate violet. Relative luminance 0.434; OKLCH L 76.6% C 0.110 H 294.4°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#B7A5F2
RGBrgb(183, 165, 242)
HSLhsl(254, 75%, 80%)
HSVhsv(254, 32%, 95%)
CMYKcmyk(24.4%, 31.8%, 0%, 5.1%)
CIE-LABlab(71.82, 22.41, -36.13)
CIE-LCHlch(71.82, 42.52, 301.81°)
OKLaboklab(76.57% 0.0454 -0.1001)
OKLCHoklch(76.57% 0.11 294.4)
XYZxyz(49.0068, 43.3878, 89.7800)
Luminance0.4339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A5F2 #E0F2A5
analogous
#A5BAF2 #B7A5F2 #DEA5F2
triadic
#B7A5F2 #F2B7A5 #A5F2B7
tetradic
#B7A5F2 #F2A5BA #E0F2A5 #A5F2DE
square
#B7A5F2 #F2A5BA #E0F2A5 #A5F2DE
split-complementary
#B7A5F2 #F2DEA5 #BAF2A5
monochromatic
#613AE3 #8C70EA #B7A5F2 #E2DAFA #EAE4FB

Accessibility & contrast

On white

2.17
#B7A5F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#B7A5F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A5F2
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A5F2#FFFFFF#000000##000000
##B7A5F21.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B1F5
Deuteranopia (green-blind)
#94AFF0
Tritanopia (blue-blind)
#ABB2C1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b7a5f2;
/* rgb */ color: rgb(183, 165, 242);
/* oklch */ color: oklch(76.6% 0.110 294.4);
Tailwind
colors: {
  custom: {
    50: '#cebff6',
    500: '#b7a5f2',
    950: '#000000',
  },
}
SCSS
$custom: #b7a5f2;
$custom-light: #cebff6;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a5f2",
  "rgb": {
    "r": 183,
    "g": 165,
    "b": 242
  },
  "hsl": {
    "h": 254.026,
    "s": 74.757,
    "l": 79.804
  },
  "oklch": {
    "l": 0.76574,
    "c": 0.10989,
    "h": 294.4
  },
  "luminance": 0.43388
}

Semantic roles & 50–950 ramp

primary
#B7A5F2
secondary
#EDF3D8
accent
#D70FA8
background
#FCFBFF
surface
#F9F7FE
border
#D2D0D6
text
#141217
muted
#828185

Preview Lab

Preview with #B7A5F2

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

Preview Lab → · Contrast checker → · Palette generator →

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