#9174F7#9174F7

#9174F7 is a light, vivid violet. Relative luminance 0.252; OKLCH L 64.9% C 0.188 H 290.4°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9174F7
RGBrgb(145, 116, 247)
HSLhsl(253, 89%, 71%)
HSVhsv(253, 53%, 97%)
CMYKcmyk(41.3%, 53%, 0%, 3.1%)
CIE-LABlab(57.29, 41.46, -62.03)
CIE-LCHlch(57.29, 74.61, 303.75°)
OKLaboklab(64.89% 0.0654 -0.1763)
OKLCHoklch(64.89% 0.188 290.4)
XYZxyz(34.7063, 25.2248, 91.0179)
Luminance0.2523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9174F7 #DAF774
analogous
#7498F7 #9174F7 #D274F7
triadic
#9174F7 #F79174 #74F791
tetradic
#9174F7 #F77498 #DAF774 #74F7D2
square
#9174F7 #F77498 #DAF774 #74F7D2
split-complementary
#9174F7 #F7D274 #98F774
monochromatic
#3D0DE4 #633AF4 #9174F7 #BFAEFA #E8E2FD

Accessibility & contrast

On white

3.47
#9174F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#9174F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9174F7
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9174F7#FFFFFF#000000##000000
##9174F71.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#368CFB
Deuteranopia (green-blind)
#3A87F4
Tritanopia (blue-blind)
#7490AB
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9174f7;
/* rgb */ color: rgb(145, 116, 247);
/* oklch */ color: oklch(64.9% 0.188 290.4);
Tailwind
colors: {
  custom: {
    50: '#b79dfa',
    500: '#9174f7',
    950: '#000000',
  },
}
SCSS
$custom: #9174f7;
$custom-light: #b79dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#9174f7",
  "rgb": {
    "r": 145,
    "g": 116,
    "b": 247
  },
  "hsl": {
    "h": 253.282,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.64891,
    "c": 0.18805,
    "h": 290.4
  },
  "luminance": 0.25226
}

Semantic roles & 50–950 ramp

primary
#9174F7
secondary
#EDF5D2
accent
#E600B3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9174F7

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

Preview Lab → · Contrast checker → · Palette generator →

#9174F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva