#9451D2#9451D2

#9451D2 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.4% C 0.194 H 305.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9451D2
RGBrgb(148, 81, 210)
HSLhsl(271, 59%, 57%)
HSVhsv(271, 61%, 82%)
CMYKcmyk(29.5%, 61.4%, 0%, 17.6%)
CIE-LABlab(48.05, 51.73, -56.05)
CIE-LCHlch(48.05, 76.27, 312.71°)
OKLaboklab(57.44% 0.111 -0.1586)
OKLCHoklch(57.44% 0.194 305)
XYZxyz(26.7855, 16.8341, 62.7985)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9451D2 #8FD251
analogous
#5451D2 #9451D2 #D251CF
triadic
#9451D2 #D29451 #51D294
tetradic
#9451D2 #D25451 #8FD251 #51CFD2
square
#9451D2 #D25451 #8FD251 #51CFD2
split-complementary
#9451D2 #CFD251 #51D254
monochromatic
#562386 #762FB7 #9451D2 #B282DF #D0B2EB

Accessibility & contrast

On white

4.81
#9451D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9451D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9451D2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9451D2#FFFFFF#000000##FFFFFF
##9451D21.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#3372CF
Tritanopia (blue-blind)
#896C8A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9451d2;
/* rgb */ color: rgb(148, 81, 210);
/* oklch */ color: oklch(57.4% 0.194 305.0);
Tailwind
colors: {
  custom: {
    50: '#b785e0',
    500: '#9451d2',
    950: '#000000',
  },
}
SCSS
$custom: #9451d2;
$custom-light: #b785e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9451d2",
  "rgb": {
    "r": 148,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 271.163,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57443,
    "c": 0.19356,
    "h": 305
  },
  "luminance": 0.16834
}

Semantic roles & 50–950 ramp

primary
#9451D2
secondary
#BEDAA5
accent
#E24691
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9451D2

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

Preview Lab → · Contrast checker → · Palette generator →

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