#974FCA#974FCA

#974FCA is a mid, vivid violet. Relative luminance 0.164; OKLCH L 57.0% C 0.188 H 308.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#974FCA
RGBrgb(151, 79, 202)
HSLhsl(275, 54%, 55%)
HSVhsv(275, 61%, 79%)
CMYKcmyk(25.2%, 60.9%, 0%, 20.8%)
CIE-LABlab(47.54, 51.59, -52.25)
CIE-LCHlch(47.54, 73.43, 314.64°)
OKLaboklab(56.99% 0.1175 -0.1474)
OKLCHoklch(56.99% 0.188 308.6)
XYZxyz(26.2170, 16.4359, 57.6570)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974FCA #82CA4F
analogous
#594FCA #974FCA #CA4FC0
triadic
#974FCA #CA974F #4FCA97
tetradic
#974FCA #CA594F #82CA4F #4FC0CA
square
#974FCA #CA594F #82CA4F #4FC0CA
split-complementary
#974FCA #C0CA4F #4FCA59
monochromatic
#57257A #7833A9 #974FCA #B37ED8 #CFADE6

Accessibility & contrast

On white

4.90
#974FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#974FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974FCA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974FCA#FFFFFF#000000##FFFFFF
##974FCA1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176ECE
Deuteranopia (green-blind)
#3D72C7
Tritanopia (blue-blind)
#906785
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #974fca;
/* rgb */ color: rgb(151, 79, 202);
/* oklch */ color: oklch(57.0% 0.188 308.6);
Tailwind
colors: {
  custom: {
    50: '#b984db',
    500: '#974fca',
    950: '#000000',
  },
}
SCSS
$custom: #974fca;
$custom-light: #b984db;
$custom-dark: #000000;
JSON
{
  "hex": "#974fca",
  "rgb": {
    "r": 151,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 275.122,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56994,
    "c": 0.18846,
    "h": 308.6
  },
  "luminance": 0.16436
}

Semantic roles & 50–950 ramp

primary
#974FCA
secondary
#B6D4A1
accent
#DD4B87
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #974FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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