#BB74FC#BB74FC

#BB74FC is a light, vivid violet. Relative luminance 0.301; OKLCH L 69.2% C 0.200 H 305.9°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#BB74FC
RGBrgb(187, 116, 252)
HSLhsl(271, 96%, 72%)
HSVhsv(271, 54%, 99%)
CMYKcmyk(25.8%, 54%, 0%, 1.2%)
CIE-LABlab(61.73, 52.65, -57.47)
CIE-LCHlch(61.73, 77.94, 312.50°)
OKLaboklab(69.22% 0.1173 -0.1617)
OKLCHoklch(69.22% 0.2 305.9)
XYZxyz(44.3059, 30.0842, 95.5493)
Luminance0.3008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB74FC #B5FC74
analogous
#7774FC #BB74FC #FC74F9
triadic
#BB74FC #FCBB74 #74FCBB
tetradic
#BB74FC #FC7774 #B5FC74 #74F9FC
square
#BB74FC #FC7774 #B5FC74 #74F9FC
split-complementary
#BB74FC #F9FC74 #74FC77
monochromatic
#8005F0 #9E38FB #BB74FC #D8B0FD #F0E1FE

Accessibility & contrast

On white

2.99
#BB74FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#BB74FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB74FC
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB74FC#FFFFFF#000000##000000
##BB74FC1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4593FF
Deuteranopia (green-blind)
#5E96F9
Tritanopia (blue-blind)
#B08DAD
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #bb74fc;
/* rgb */ color: rgb(187, 116, 252);
/* oklch */ color: oklch(69.2% 0.200 305.9);
Tailwind
colors: {
  custom: {
    50: '#d39efe',
    500: '#bb74fc',
    950: '#000000',
  },
}
SCSS
$custom: #bb74fc;
$custom-light: #d39efe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb74fc",
  "rgb": {
    "r": 187,
    "g": 116,
    "b": 252
  },
  "hsl": {
    "h": 271.324,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69221,
    "c": 0.19976,
    "h": 305.9
  },
  "luminance": 0.30084
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB74FC

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

Preview Lab → · Contrast checker → · Palette generator →

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