#9451CC#9451CC

#9451CC is a mid, vivid violet. Relative luminance 0.165; OKLCH L 57.1% C 0.187 H 306.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9451CC
RGBrgb(148, 81, 204)
HSLhsl(273, 55%, 56%)
HSVhsv(273, 60%, 80%)
CMYKcmyk(27.5%, 60.3%, 0%, 20%)
CIE-LABlab(47.68, 50.33, -53.21)
CIE-LCHlch(47.68, 73.24, 313.41°)
OKLaboklab(57.05% 0.1111 -0.1503)
OKLCHoklch(57.05% 0.187 306.5)
XYZxyz(26.0520, 16.5406, 58.9353)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9451CC #89CC51
analogous
#5651CC #9451CC #CC51C6
triadic
#9451CC #CC9451 #51CC94
tetradic
#9451CC #CC5651 #89CC51 #51C6CC
square
#9451CC #CC5651 #89CC51 #51C6CC
split-complementary
#9451CC #C6CC51 #51CC56
monochromatic
#55257E #7533AD #9451CC #B180DA #CEB0E8

Accessibility & contrast

On white

4.87
#9451CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9451CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9451CC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9451CC#FFFFFF#000000##FFFFFF
##9451CC1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166FD0
Deuteranopia (green-blind)
#3A72C9
Tritanopia (blue-blind)
#8B6987
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9451cc;
/* rgb */ color: rgb(148, 81, 204);
/* oklch */ color: oklch(57.1% 0.187 306.5);
Tailwind
colors: {
  custom: {
    50: '#b785dc',
    500: '#9451cc',
    950: '#000000',
  },
}
SCSS
$custom: #9451cc;
$custom-light: #b785dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9451cc",
  "rgb": {
    "r": 148,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 272.683,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57051,
    "c": 0.1869,
    "h": 306.5
  },
  "luminance": 0.1654
}

Semantic roles & 50–950 ramp

primary
#9451CC
secondary
#BAD6A3
accent
#DE4A8D
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9451CC

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

Preview Lab → · Contrast checker → · Palette generator →

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