#B897FA#B897FA

#B897FA is a light, vivid violet. Relative luminance 0.392; OKLCH L 74.5% C 0.143 H 298.2°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#B897FA
RGBrgb(184, 151, 250)
HSLhsl(260, 91%, 79%)
HSVhsv(260, 40%, 98%)
CMYKcmyk(26.4%, 39.6%, 0%, 2%)
CIE-LABlab(68.91, 32.40, -45.02)
CIE-LCHlch(68.91, 55.46, 305.74°)
OKLaboklab(74.49% 0.0674 -0.1256)
OKLCHoklch(74.49% 0.143 298.2)
XYZxyz(48.0851, 39.2253, 95.4619)
Luminance0.3923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B897FA #D9FA97
analogous
#97A7FA #B897FA #E997FA
triadic
#B897FA #FAB897 #97FAB8
tetradic
#B897FA #FA97A7 #D9FA97 #97FAE9
square
#B897FA #FA97A7 #D9FA97 #97FAE9
split-complementary
#B897FA #FAE997 #A7FA97
monochromatic
#6822F4 #905DF7 #B897FA #E0D1FD #EBE2FE

Accessibility & contrast

On white

2.37
#B897FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#B897FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B897FA
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B897FA#FFFFFF#000000##000000
##B897FA1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA8FE
Deuteranopia (green-blind)
#82A7F7
Tritanopia (blue-blind)
#ABA8BD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b897fa;
/* rgb */ color: rgb(184, 151, 250);
/* oklch */ color: oklch(74.5% 0.143 298.2);
Tailwind
colors: {
  custom: {
    50: '#cfb6fc',
    500: '#b897fa',
    950: '#000000',
  },
}
SCSS
$custom: #b897fa;
$custom-light: #cfb6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b897fa",
  "rgb": {
    "r": 184,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 260,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.74494,
    "c": 0.14256,
    "h": 298.2
  },
  "luminance": 0.39226
}

Semantic roles & 50–950 ramp

primary
#B897FA
secondary
#EBF6D5
accent
#E60099
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B897FA

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

Preview Lab → · Contrast checker → · Palette generator →

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