#B893EC#B893EC

#B893EC is a light, vivid violet. Relative luminance 0.371; OKLCH L 73.1% C 0.131 H 302.4°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#B893EC
RGBrgb(184, 147, 236)
HSLhsl(265, 70%, 75%)
HSVhsv(265, 38%, 93%)
CMYKcmyk(22%, 37.7%, 0%, 7.5%)
CIE-LABlab(67.36, 31.35, -39.79)
CIE-LCHlch(67.36, 50.65, 308.24°)
OKLaboklab(73.11% 0.0702 -0.1105)
OKLCHoklch(73.11% 0.131 302.4)
XYZxyz(45.3380, 37.1139, 84.1158)
Luminance0.3711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B893EC #C7EC93
analogous
#939AEC #B893EC #E593EC
triadic
#B893EC #ECB893 #93ECB8
tetradic
#B893EC #EC939A #C7EC93 #93ECE5
square
#B893EC #EC939A #C7EC93 #93ECE5
split-complementary
#B893EC #ECE593 #9AEC93
monochromatic
#742BDA #965FE3 #B893EC #DAC7F5 #EEE5FA

Accessibility & contrast

On white

2.49
#B893EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#B893EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B893EC
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B893EC#FFFFFF#000000##000000
##B893EC1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA3EF
Deuteranopia (green-blind)
#85A4EA
Tritanopia (blue-blind)
#AFA1B4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b893ec;
/* rgb */ color: rgb(184, 147, 236);
/* oklch */ color: oklch(73.1% 0.131 302.4);
Tailwind
colors: {
  custom: {
    50: '#cfb3f2',
    500: '#b893ec',
    950: '#000000',
  },
}
SCSS
$custom: #b893ec;
$custom-light: #cfb3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b893ec",
  "rgb": {
    "r": 184,
    "g": 147,
    "b": 236
  },
  "hsl": {
    "h": 264.944,
    "s": 70.079,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73113,
    "c": 0.13089,
    "h": 302.4
  },
  "luminance": 0.37114
}

Semantic roles & 50–950 ramp

primary
#B893EC
secondary
#E8F2D9
accent
#D21383
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #B893EC

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

Preview Lab → · Contrast checker → · Palette generator →

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