#9451D4#9451D4

#9451D4 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.6% C 0.196 H 304.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9451D4
RGBrgb(148, 81, 212)
HSLhsl(271, 60%, 57%)
HSVhsv(271, 62%, 83%)
CMYKcmyk(30.2%, 61.8%, 0%, 16.9%)
CIE-LABlab(48.18, 52.21, -56.99)
CIE-LCHlch(48.18, 77.28, 312.49°)
OKLaboklab(57.58% 0.1109 -0.1614)
OKLCHoklch(57.58% 0.196 304.5)
XYZxyz(27.0362, 16.9343, 64.1189)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9451D4 #91D451
analogous
#5251D4 #9451D4 #D451D3
triadic
#9451D4 #D49451 #51D494
tetradic
#9451D4 #D45251 #91D451 #51D3D4
square
#9451D4 #D45251 #91D451 #51D3D4
split-complementary
#9451D4 #D3D451 #51D452
monochromatic
#562289 #762EBA #9451D4 #B282E0 #D0B3EC

Accessibility & contrast

On white

4.79
#9451D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9451D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9451D4
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9451D4#FFFFFF#000000##FFFFFF
##9451D41.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#3072D1
Tritanopia (blue-blind)
#886C8B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9451d4;
/* rgb */ color: rgb(148, 81, 212);
/* oklch */ color: oklch(57.6% 0.196 304.5);
Tailwind
colors: {
  custom: {
    50: '#b885e2',
    500: '#9451d4',
    950: '#000000',
  },
}
SCSS
$custom: #9451d4;
$custom-light: #b885e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9451d4",
  "rgb": {
    "r": 148,
    "g": 81,
    "b": 212
  },
  "hsl": {
    "h": 270.687,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57576,
    "c": 0.19578,
    "h": 304.5
  },
  "luminance": 0.16934
}

Semantic roles & 50–950 ramp

primary
#9451D4
secondary
#C0DBA6
accent
#E44492
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9451D4

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

Preview Lab → · Contrast checker → · Palette generator →

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