#9A74C8#9A74C8

#9A74C8 is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.0% C 0.128 H 303.8°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9A74C8
RGBrgb(154, 116, 200)
HSLhsl(267, 43%, 62%)
HSVhsv(267, 42%, 78%)
CMYKcmyk(23%, 42%, 0%, 21.6%)
CIE-LABlab(55.62, 31.73, -38.27)
CIE-LCHlch(55.62, 49.71, 309.66°)
OKLaboklab(63.02% 0.0714 -0.1066)
OKLCHoklch(63.02% 0.128 303.8)
XYZxyz(29.9949, 23.5310, 57.5941)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A74C8 #A2C874
analogous
#7478C8 #9A74C8 #C474C8
triadic
#9A74C8 #C89A74 #74C89A
tetradic
#9A74C8 #C87478 #A2C874 #74C8C4
square
#9A74C8 #C87478 #A2C874 #74C8C4
split-complementary
#9A74C8 #C8C474 #78C874
monochromatic
#5D378B #7A48B7 #9A74C8 #BAA0D9 #DACCEB

Accessibility & contrast

On white

3.68
#9A74C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#9A74C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A74C8
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A74C8#FFFFFF#000000##000000
##9A74C81.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F84CB
Deuteranopia (green-blind)
#6885C6
Tritanopia (blue-blind)
#928294
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9a74c8;
/* rgb */ color: rgb(154, 116, 200);
/* oklch */ color: oklch(63.0% 0.128 303.8);
Tailwind
colors: {
  custom: {
    50: '#b99cd9',
    500: '#9a74c8',
    950: '#000000',
  },
}
SCSS
$custom: #9a74c8;
$custom-light: #b99cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a74c8",
  "rgb": {
    "r": 154,
    "g": 116,
    "b": 200
  },
  "hsl": {
    "h": 267.143,
    "s": 43.299,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63017,
    "c": 0.12832,
    "h": 303.8
  },
  "luminance": 0.23531
}

Semantic roles & 50–950 ramp

primary
#9A74C8
secondary
#CDDBBC
accent
#B62F79
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120E14
muted
#817E83

Preview Lab

Preview with #9A74C8

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

Preview Lab → · Contrast checker → · Palette generator →

#9A74C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva