#B897FF#B897FF

#B897FF is a light, vivid violet. Relative luminance 0.395; OKLCH L 74.7% C 0.149 H 297.3°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#B897FF
RGBrgb(184, 151, 255)
HSLhsl(259, 100%, 80%)
HSVhsv(259, 41%, 100%)
CMYKcmyk(27.8%, 40.8%, 0%, 0%)
CIE-LABlab(69.14, 33.59, -47.38)
CIE-LCHlch(69.14, 58.08, 305.34°)
OKLaboklab(74.74% 0.0683 -0.1325)
OKLCHoklch(74.74% 0.149 297.3)
XYZxyz(48.8795, 39.5431, 99.6457)
Luminance0.3954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B897FF #DEFF97
analogous
#97AAFF #B897FF #EC97FF
triadic
#B897FF #FFB897 #97FFB8
tetradic
#B897FF #FF97AA #DEFF97 #97FFEC
square
#B897FF #FF97AA #DEFF97 #97FFEC
split-complementary
#B897FF #FFEC97 #AAFF97
monochromatic
#641DFF #8E5AFF #B897FF #E2D4FF #EAE0FF

Accessibility & contrast

On white

2.36
#B897FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#B897FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B897FF
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B897FF#FFFFFF#000000##000000
##B897FF1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#80A8FC
Tritanopia (blue-blind)
#A9A9BF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b897ff;
/* rgb */ color: rgb(184, 151, 255);
/* oklch */ color: oklch(74.7% 0.149 297.3);
Tailwind
colors: {
  custom: {
    50: '#cfb6ff',
    500: '#b897ff',
    950: '#000000',
  },
}
SCSS
$custom: #b897ff;
$custom-light: #cfb6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b897ff",
  "rgb": {
    "r": 184,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 259.038,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.74742,
    "c": 0.14904,
    "h": 297.3
  },
  "luminance": 0.39544
}

Semantic roles & 50–950 ramp

primary
#B897FF
secondary
#ECF7D4
accent
#E6009D
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B897FF

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

Preview Lab → · Contrast checker → · Palette generator →

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