#9174EF#9174EF

#9174EF is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.4% C 0.178 H 291.5°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9174EF
RGBrgb(145, 116, 239)
HSLhsl(254, 79%, 70%)
HSVhsv(254, 51%, 94%)
CMYKcmyk(39.3%, 51.5%, 0%, 6.3%)
CIE-LABlab(56.82, 39.29, -58.35)
CIE-LCHlch(56.82, 70.34, 303.95°)
OKLaboklab(64.39% 0.0651 -0.1655)
OKLCHoklch(64.39% 0.178 291.5)
XYZxyz(33.4982, 24.7416, 84.6553)
Luminance0.2474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9174EF #D2EF74
analogous
#7495EF #9174EF #CE74EF
triadic
#9174EF #EF9174 #74EF91
tetradic
#9174EF #EF7495 #D2EF74 #74EFCE
square
#9174EF #EF7495 #D2EF74 #74EFCE
split-complementary
#9174EF #EFCE74 #95EF74
monochromatic
#4418D1 #663DE9 #9174EF #BCABF5 #E8E2FC

Accessibility & contrast

On white

3.53
#9174EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#9174EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9174EF
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9174EF#FFFFFF#000000##000000
##9174EF1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8AF3
Deuteranopia (green-blind)
#4486EC
Tritanopia (blue-blind)
#788DA7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9174ef;
/* rgb */ color: rgb(145, 116, 239);
/* oklch */ color: oklch(64.4% 0.178 291.5);
Tailwind
colors: {
  custom: {
    50: '#b69cf5',
    500: '#9174ef',
    950: '#000000',
  },
}
SCSS
$custom: #9174ef;
$custom-light: #b69cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#9174ef",
  "rgb": {
    "r": 145,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 254.146,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64389,
    "c": 0.1778,
    "h": 291.5
  },
  "luminance": 0.24743
}

Semantic roles & 50–950 ramp

primary
#9174EF
secondary
#E9F1CE
accent
#DC0AAA
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9174EF

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

Preview Lab → · Contrast checker → · Palette generator →

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