#974CF3#974CF3

#974CF3 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.5% C 0.236 H 299.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#974CF3
RGBrgb(151, 76, 243)
HSLhsl(267, 87%, 63%)
HSVhsv(267, 69%, 95%)
CMYKcmyk(37.9%, 68.7%, 0%, 4.7%)
CIE-LABlab(49.76, 62.64, -71.95)
CIE-LCHlch(49.76, 95.39, 311.04°)
OKLaboklab(59.46% 0.117 -0.2052)
OKLCHoklch(59.46% 0.236 299.7)
XYZxyz(31.5206, 18.2189, 86.6326)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974CF3 #A8F34C
analogous
#4C54F3 #974CF3 #EB4CF3
triadic
#974CF3 #F3974C #4CF397
tetradic
#974CF3 #F34C54 #A8F34C #4CF3EB
square
#974CF3 #F34C54 #A8F34C #4CF3EB
split-complementary
#974CF3 #F3EB4C #54F34C
monochromatic
#5A0CB8 #7613EF #974CF3 #B885F7 #DABFFB

Accessibility & contrast

On white

4.52
#974CF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#974CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #974CF3
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974CF3#FFFFFF#000000##000000
##974CF31.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F8
Deuteranopia (green-blind)
#0075F0
Tritanopia (blue-blind)
#82749A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #974cf3;
/* rgb */ color: rgb(151, 76, 243);
/* oklch */ color: oklch(59.5% 0.236 299.7);
Tailwind
colors: {
  custom: {
    50: '#bc83f8',
    500: '#974cf3',
    950: '#000000',
  },
}
SCSS
$custom: #974cf3;
$custom-light: #bc83f8;
$custom-dark: #000000;
JSON
{
  "hex": "#974cf3",
  "rgb": {
    "r": 151,
    "g": 76,
    "b": 243
  },
  "hsl": {
    "h": 266.946,
    "s": 87.435,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59461,
    "c": 0.23621,
    "h": 299.7
  },
  "luminance": 0.18219
}

Semantic roles & 50–950 ramp

primary
#974CF3
secondary
#D0ECAF
accent
#E4027E
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #974CF3

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

Preview Lab → · Contrast checker → · Palette generator →

#974CF3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva