#BB74FE#BB74FE

#BB74FE is a light, highly saturated violet. Relative luminance 0.302; OKLCH L 69.3% C 0.202 H 305.5°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#BB74FE
RGBrgb(187, 116, 254)
HSLhsl(271, 99%, 73%)
HSVhsv(271, 54%, 100%)
CMYKcmyk(26.4%, 54.3%, 0%, 0.4%)
CIE-LABlab(61.84, 53.11, -58.39)
CIE-LCHlch(61.84, 78.93, 312.29°)
OKLaboklab(69.34% 0.1174 -0.1644)
OKLCHoklch(69.34% 0.202 305.5)
XYZxyz(44.6245, 30.2116, 97.2273)
Luminance0.3021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB74FE #B7FE74
analogous
#7674FE #BB74FE #FE74FC
triadic
#BB74FE #FEBB74 #74FEBB
tetradic
#BB74FE #FE7674 #B7FE74 #74FCFE
square
#BB74FE #FE7674 #B7FE74 #74FCFE
split-complementary
#BB74FE #FCFE74 #74FE76
monochromatic
#7F02F6 #9D37FE #BB74FE #D9B1FE #F0E1FF

Accessibility & contrast

On white

2.98
#BB74FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#BB74FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB74FE
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB74FE#FFFFFF#000000##000000
##BB74FE1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4393FF
Deuteranopia (green-blind)
#5C96FB
Tritanopia (blue-blind)
#B08EAE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #bb74fe;
/* rgb */ color: rgb(187, 116, 254);
/* oklch */ color: oklch(69.3% 0.202 305.5);
Tailwind
colors: {
  custom: {
    50: '#d39eff',
    500: '#bb74fe',
    950: '#000000',
  },
}
SCSS
$custom: #bb74fe;
$custom-light: #d39eff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb74fe",
  "rgb": {
    "r": 187,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 270.87,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69337,
    "c": 0.20202,
    "h": 305.5
  },
  "luminance": 0.30211
}

Semantic roles & 50–950 ramp

primary
#BB74FE
secondary
#E5F7D4
accent
#E6006F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F18
muted
#837E86

Preview Lab

Preview with #BB74FE

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

Preview Lab → · Contrast checker → · Palette generator →

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