#9451D7#9451D7

#9451D7 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.8% C 0.199 H 303.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9451D7
RGBrgb(148, 81, 215)
HSLhsl(270, 63%, 58%)
HSVhsv(270, 62%, 84%)
CMYKcmyk(31.2%, 62.3%, 0%, 15.7%)
CIE-LABlab(48.37, 52.92, -58.39)
CIE-LCHlch(48.37, 78.80, 312.18°)
OKLaboklab(57.78% 0.1107 -0.1655)
OKLCHoklch(57.78% 0.199 303.8)
XYZxyz(27.4181, 17.0871, 66.1305)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9451D7 #94D751
analogous
#5151D7 #9451D7 #D751D7
triadic
#9451D7 #D79451 #51D794
tetradic
#9451D7 #D75151 #94D751 #51D7D7
square
#9451D7 #D75151 #94D751 #51D7D7
split-complementary
#9451D7 #D7D751 #51D751
monochromatic
#57208D #752CBF #9451D7 #B383E2 #D1B5EE

Accessibility & contrast

On white

4.75
#9451D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9451D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9451D7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9451D7#FFFFFF#000000##FFFFFF
##9451D71.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#2C73D4
Tritanopia (blue-blind)
#876D8D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9451d7;
/* rgb */ color: rgb(148, 81, 215);
/* oklch */ color: oklch(57.8% 0.199 303.8);
Tailwind
colors: {
  custom: {
    50: '#b885e4',
    500: '#9451d7',
    950: '#000000',
  },
}
SCSS
$custom: #9451d7;
$custom-light: #b885e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9451d7",
  "rgb": {
    "r": 148,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 270,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57776,
    "c": 0.1991,
    "h": 303.8
  },
  "luminance": 0.17087
}

Semantic roles & 50–950 ramp

primary
#9451D7
secondary
#C2DDA7
accent
#E64294
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9451D7

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

Preview Lab → · Contrast checker → · Palette generator →

#9451D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva