#B896EF#B896EF

#B896EF is a light, vivid violet. Relative luminance 0.382; OKLCH L 73.8% C 0.130 H 300.9°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#B896EF
RGBrgb(184, 150, 239)
HSLhsl(263, 74%, 76%)
HSVhsv(263, 37%, 94%)
CMYKcmyk(23%, 37.2%, 0%, 6.3%)
CIE-LABlab(68.19, 30.37, -40.13)
CIE-LCHlch(68.19, 50.33, 307.12°)
OKLaboklab(73.79% 0.0666 -0.1115)
OKLCHoklch(73.79% 0.13 300.9)
XYZxyz(46.2501, 38.2349, 86.5881)
Luminance0.3824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B896EF #CDEF96
analogous
#96A1EF #B896EF #E596EF
triadic
#B896EF #EFB896 #96EFB8
tetradic
#B896EF #EF96A1 #CDEF96 #96EFE5
square
#B896EF #EF96A1 #CDEF96 #96EFE5
split-complementary
#B896EF #EFE596 #A1EF96
monochromatic
#702CDF #9461E7 #B896EF #DCCBF7 #EDE4FB

Accessibility & contrast

On white

2.43
#B896EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#B896EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B896EF
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B896EF#FFFFFF#000000##000000
##B896EF1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A6F2
Deuteranopia (green-blind)
#87A6ED
Tritanopia (blue-blind)
#AEA4B7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b896ef;
/* rgb */ color: rgb(184, 150, 239);
/* oklch */ color: oklch(73.8% 0.130 300.9);
Tailwind
colors: {
  custom: {
    50: '#cfb5f4',
    500: '#b896ef',
    950: '#000000',
  },
}
SCSS
$custom: #b896ef;
$custom-light: #cfb5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b896ef",
  "rgb": {
    "r": 184,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 262.921,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.73787,
    "c": 0.12989,
    "h": 300.9
  },
  "luminance": 0.38235
}

Semantic roles & 50–950 ramp

primary
#B896EF
secondary
#E9F3D8
accent
#D6108A
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #B896EF

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

Preview Lab → · Contrast checker → · Palette generator →

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