#B8A2DF#B8A2DF

#B8A2DF is a light, moderate violet. Relative luminance 0.414; OKLCH L 75.3% C 0.089 H 300.8°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#B8A2DF
RGBrgb(184, 162, 223)
HSLhsl(262, 49%, 75%)
HSVhsv(262, 27%, 87%)
CMYKcmyk(17.5%, 27.4%, 0%, 12.5%)
CIE-LABlab(70.43, 20.05, -27.90)
CIE-LCHlch(70.43, 34.35, 305.70°)
OKLaboklab(75.28% 0.0457 -0.0766)
OKLCHoklch(75.28% 0.089 300.8)
XYZxyz(46.0040, 41.3586, 75.3571)
Luminance0.4136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A2DF #C9DFA2
analogous
#A2AADF #B8A2DF #D6A2DF
triadic
#B8A2DF #DFB8A2 #A2DFB8
tetradic
#B8A2DF #DFA2AA #C9DFA2 #A2DFD6
square
#B8A2DF #DFA2AA #C9DFA2 #A2DFD6
split-complementary
#B8A2DF #DFD6A2 #AADFA2
monochromatic
#7247C0 #9574CF #B8A2DF #DBD0EF #EEE8F7

Accessibility & contrast

On white

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

On black

9.27
#B8A2DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A2DF
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A2DF#FFFFFF#000000##000000
##B8A2DF1.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95ACE2
Deuteranopia (green-blind)
#99ACDD
Tritanopia (blue-blind)
#B1ABB7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b8a2df;
/* rgb */ color: rgb(184, 162, 223);
/* oklch */ color: oklch(75.3% 0.089 300.8);
Tailwind
colors: {
  custom: {
    50: '#cebde9',
    500: '#b8a2df',
    950: '#000000',
  },
}
SCSS
$custom: #b8a2df;
$custom-light: #cebde9;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a2df",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 223
  },
  "hsl": {
    "h": 261.639,
    "s": 48.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75282,
    "c": 0.08916,
    "h": 300.8
  },
  "luminance": 0.41359
}

Semantic roles & 50–950 ramp

primary
#B8A2DF
secondary
#E8EEDD
accent
#BC2987
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B8A2DF

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

Preview Lab → · Contrast checker → · Palette generator →

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