#B994F8#B994F8

#B994F8 is a light, vivid violet. Relative luminance 0.383; OKLCH L 74.0% C 0.145 H 299.9°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#B994F8
RGBrgb(185, 148, 248)
HSLhsl(262, 88%, 78%)
HSVhsv(262, 40%, 97%)
CMYKcmyk(25.4%, 40.3%, 0%, 2.7%)
CIE-LABlab(68.22, 33.87, -45.01)
CIE-LCHlch(68.22, 56.33, 306.96°)
OKLaboklab(73.96% 0.0723 -0.1256)
OKLCHoklch(73.96% 0.145 299.9)
XYZxyz(47.5369, 38.2712, 93.6714)
Luminance0.3827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B994F8 #D3F894
analogous
#94A1F8 #B994F8 #EB94F8
triadic
#B994F8 #F8B994 #94F8B9
tetradic
#B994F8 #F894A1 #D3F894 #94F8EB
square
#B994F8 #F894A1 #D3F894 #94F8EB
split-complementary
#B994F8 #F8EB94 #A1F894
monochromatic
#6E21F0 #935BF4 #B994F8 #DFCDFC #ECE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B994F8#FFFFFF#000000##000000
##B994F81.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)
#7AA6FC
Deuteranopia (green-blind)
#81A6F5
Tritanopia (blue-blind)
#ADA5BA
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b994f8;
/* rgb */ color: rgb(185, 148, 248);
/* oklch */ color: oklch(74.0% 0.145 299.9);
Tailwind
colors: {
  custom: {
    50: '#d0b4fb',
    500: '#b994f8',
    950: '#000000',
  },
}
SCSS
$custom: #b994f8;
$custom-light: #d0b4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b994f8",
  "rgb": {
    "r": 185,
    "g": 148,
    "b": 248
  },
  "hsl": {
    "h": 262.2,
    "s": 87.719,
    "l": 77.647
  },
  "oklch": {
    "l": 0.7396,
    "c": 0.14488,
    "h": 299.9
  },
  "luminance": 0.38271
}

Semantic roles & 50–950 ramp

primary
#B994F8
secondary
#EAF5D6
accent
#E40190
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B994F8

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

Preview Lab → · Contrast checker → · Palette generator →

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