#921FD2#921FD2

#921FD2 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 52.2% C 0.247 H 308.5°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#921FD2
RGBrgb(146, 31, 210)
HSLhsl(279, 74%, 47%)
HSVhsv(279, 85%, 82%)
CMYKcmyk(30.5%, 85.2%, 0%, 17.6%)
CIE-LABlab(40.81, 71.06, -67.80)
CIE-LCHlch(40.81, 98.21, 316.35°)
OKLaboklab(52.25% 0.1537 -0.1929)
OKLCHoklch(52.25% 0.247 308.5)
XYZxyz(23.9745, 11.7445, 61.9642)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#921FD2 #5FD21F
analogous
#381FD2 #921FD2 #D21FB9
triadic
#921FD2 #D2921F #1FD292
tetradic
#921FD2 #D2381F #5FD21F #1FB9D2
square
#921FD2 #D2381F #5FD21F #1FB9D2
split-complementary
#921FD2 #B9D21F #1FD238
monochromatic
#480F67 #6D179D #921FD2 #AD4AE4 #C57FEC

Accessibility & contrast

On white

6.27
#921FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#921FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #921FD2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##921FD2#FFFFFF#000000##FFFFFF
##921FD21.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD7
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#88527D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #921fd2;
/* rgb */ color: rgb(146, 31, 210);
/* oklch */ color: oklch(52.2% 0.247 308.5);
Tailwind
colors: {
  custom: {
    50: '#b86de1',
    500: '#921fd2',
    950: '#000000',
  },
}
SCSS
$custom: #921fd2;
$custom-light: #b86de1;
$custom-dark: #000000;
JSON
{
  "hex": "#921fd2",
  "rgb": {
    "r": 146,
    "g": 31,
    "b": 210
  },
  "hsl": {
    "h": 278.547,
    "s": 74.274,
    "l": 47.255
  },
  "oklch": {
    "l": 0.52247,
    "c": 0.24661,
    "h": 308.5
  },
  "luminance": 0.11744
}

Semantic roles & 50–950 ramp

primary
#921FD2
secondary
#99D478
accent
#F13779
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #921FD2

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

Preview Lab → · Contrast checker → · Palette generator →

#921FD2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva