#9451C2#9451C2

#9451C2 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.4% C 0.176 H 309.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9451C2
RGBrgb(148, 81, 194)
HSLhsl(276, 48%, 54%)
HSVhsv(276, 58%, 76%)
CMYKcmyk(23.7%, 58.2%, 0%, 23.9%)
CIE-LABlab(47.07, 48.02, -48.40)
CIE-LCHlch(47.07, 68.18, 314.77°)
OKLaboklab(56.42% 0.1112 -0.1362)
OKLCHoklch(56.42% 0.176 309.2)
XYZxyz(24.8909, 16.0762, 52.8203)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9451C2 #7FC251
analogous
#5C51C2 #9451C2 #C251B8
triadic
#9451C2 #C29451 #51C294
tetradic
#9451C2 #C25C51 #7FC251 #51B8C2
square
#9451C2 #C25C51 #7FC251 #51B8C2
split-complementary
#9451C2 #B8C251 #51C25C
monochromatic
#532871 #74379E #9451C2 #B07ED2 #CCACE2

Accessibility & contrast

On white

4.98
#9451C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#9451C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9451C2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9451C2#FFFFFF#000000##FFFFFF
##9451C21.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286DC6
Deuteranopia (green-blind)
#4371BF
Tritanopia (blue-blind)
#8E6682
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9451c2;
/* rgb */ color: rgb(148, 81, 194);
/* oklch */ color: oklch(56.4% 0.176 309.2);
Tailwind
colors: {
  custom: {
    50: '#b685d5',
    500: '#9451c2',
    950: '#000000',
  },
}
SCSS
$custom: #9451c2;
$custom-light: #b685d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9451c2",
  "rgb": {
    "r": 148,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 275.575,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56419,
    "c": 0.17577,
    "h": 309.2
  },
  "luminance": 0.16076
}

Semantic roles & 50–950 ramp

primary
#9451C2
secondary
#B3D09F
accent
#D85087
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9451C2

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

Preview Lab → · Contrast checker → · Palette generator →

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