#B993EC#B993EC

#B993EC is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.2% C 0.131 H 303.0°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#B993EC
RGBrgb(185, 147, 236)
HSLhsl(266, 70%, 75%)
HSVhsv(266, 38%, 93%)
CMYKcmyk(21.6%, 37.7%, 0%, 7.5%)
CIE-LABlab(67.46, 31.64, -39.63)
CIE-LCHlch(67.46, 50.71, 308.60°)
OKLaboklab(73.21% 0.0713 -0.11)
OKLCHoklch(73.21% 0.131 303)
XYZxyz(45.5784, 37.2379, 84.1271)
Luminance0.3724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B993EC #C6EC93
analogous
#9399EC #B993EC #E693EC
triadic
#B993EC #ECB993 #93ECB9
tetradic
#B993EC #EC9399 #C6EC93 #93ECE6
square
#B993EC #EC9399 #C6EC93 #93ECE6
split-complementary
#B993EC #ECE693 #99EC93
monochromatic
#762BDA #975FE3 #B993EC #DBC7F5 #EEE5FA

Accessibility & contrast

On white

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

On black

8.45
#B993EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B993EC
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B993EC#FFFFFF#000000##000000
##B993EC1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b993ec;
/* rgb */ color: rgb(185, 147, 236);
/* oklch */ color: oklch(73.2% 0.131 303.0);
Tailwind
colors: {
  custom: {
    50: '#cfb3f2',
    500: '#b993ec',
    950: '#000000',
  },
}
SCSS
$custom: #b993ec;
$custom-light: #cfb3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b993ec",
  "rgb": {
    "r": 185,
    "g": 147,
    "b": 236
  },
  "hsl": {
    "h": 265.618,
    "s": 70.079,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73205,
    "c": 0.13113,
    "h": 303
  },
  "luminance": 0.37238
}

Semantic roles & 50–950 ramp

primary
#B993EC
secondary
#E7F2D9
accent
#D21381
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #B993EC

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

Preview Lab → · Contrast checker → · Palette generator →

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