#973FE3#973FE3

#973FE3 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.8% C 0.235 H 304.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#973FE3
RGBrgb(151, 63, 227)
HSLhsl(272, 75%, 57%)
HSVhsv(272, 72%, 89%)
CMYKcmyk(33.5%, 72.2%, 0%, 11%)
CIE-LABlab(46.55, 64.65, -68.14)
CIE-LCHlch(46.55, 93.93, 313.50°)
OKLaboklab(56.82% 0.1321 -0.194)
OKLCHoklch(56.82% 0.235 304.2)
XYZxyz(28.4020, 15.6805, 74.1885)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973FE3 #8BE33F
analogous
#453FE3 #973FE3 #E33FDD
triadic
#973FE3 #E3973F #3FE397
tetradic
#973FE3 #E3453F #8BE33F #3FDDE3
square
#973FE3 #E3453F #8BE33F #3FDDE3
split-complementary
#973FE3 #DDE33F #3FE345
monochromatic
#581592 #791DC8 #973FE3 #B474EB #D1AAF3

Accessibility & contrast

On white

5.08
#973FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#973FE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973FE3
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973FE3#FFFFFF#000000##FFFFFF
##973FE31.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE8
Deuteranopia (green-blind)
#006EE0
Tritanopia (blue-blind)
#88678E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #973fe3;
/* rgb */ color: rgb(151, 63, 227);
/* oklch */ color: oklch(56.8% 0.235 304.2);
Tailwind
colors: {
  custom: {
    50: '#bc7ced',
    500: '#973fe3',
    950: '#000000',
  },
}
SCSS
$custom: #973fe3;
$custom-light: #bc7ced;
$custom-dark: #000000;
JSON
{
  "hex": "#973fe3",
  "rgb": {
    "r": 151,
    "g": 63,
    "b": 227
  },
  "hsl": {
    "h": 272.195,
    "s": 74.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56817,
    "c": 0.23464,
    "h": 304.2
  },
  "luminance": 0.1568
}

Semantic roles & 50–950 ramp

primary
#973FE3
secondary
#BCE09D
accent
#F1378D
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #973FE3

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

Preview Lab → · Contrast checker → · Palette generator →

#973FE3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva