#B893EF#B893EF

#B893EF is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.3% C 0.135 H 301.7°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#B893EF
RGBrgb(184, 147, 239)
HSLhsl(264, 74%, 76%)
HSVhsv(264, 38%, 94%)
CMYKcmyk(23%, 38.5%, 0%, 6.3%)
CIE-LABlab(67.49, 32.04, -41.23)
CIE-LCHlch(67.49, 52.21, 307.85°)
OKLaboklab(73.26% 0.0708 -0.1146)
OKLCHoklch(73.26% 0.135 301.7)
XYZxyz(45.7775, 37.2897, 86.4306)
Luminance0.3729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B893EF #CAEF93
analogous
#939CEF #B893EF #E693EF
triadic
#B893EF #EFB893 #93EFB8
tetradic
#B893EF #EF939C #CAEF93 #93EFE6
square
#B893EF #EF939C #CAEF93 #93EFE6
split-complementary
#B893EF #EFE693 #9CEF93
monochromatic
#7228DF #955EE7 #B893EF #DBC8F7 #EDE4FB

Accessibility & contrast

On white

2.48
#B893EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#B893EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B893EF
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B893EF#FFFFFF#000000##000000
##B893EF1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA4F3
Deuteranopia (green-blind)
#84A4ED
Tritanopia (blue-blind)
#AEA2B6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b893ef;
/* rgb */ color: rgb(184, 147, 239);
/* oklch */ color: oklch(73.3% 0.135 301.7);
Tailwind
colors: {
  custom: {
    50: '#cfb3f4',
    500: '#b893ef',
    950: '#000000',
  },
}
SCSS
$custom: #b893ef;
$custom-light: #cfb3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b893ef",
  "rgb": {
    "r": 184,
    "g": 147,
    "b": 239
  },
  "hsl": {
    "h": 264.13,
    "s": 74.194,
    "l": 75.686
  },
  "oklch": {
    "l": 0.73256,
    "c": 0.13474,
    "h": 301.7
  },
  "luminance": 0.3729
}

Semantic roles & 50–950 ramp

primary
#B893EF
secondary
#E8F3D8
accent
#D60F86
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #B893EF

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

Preview Lab → · Contrast checker → · Palette generator →

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