#9451E2#9451E2

#9451E2 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.5% C 0.211 H 301.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9451E2
RGBrgb(148, 81, 226)
HSLhsl(268, 71%, 60%)
HSVhsv(268, 64%, 89%)
CMYKcmyk(34.5%, 64.2%, 0%, 11.4%)
CIE-LABlab(49.10, 55.56, -63.47)
CIE-LCHlch(49.10, 84.35, 311.20°)
OKLaboklab(58.53% 0.1099 -0.1804)
OKLCHoklch(58.53% 0.211 301.4)
XYZxyz(28.8794, 17.6716, 73.8263)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9451E2 #9FE251
analogous
#5156E2 #9451E2 #DD51E2
triadic
#9451E2 #E29451 #51E294
tetradic
#9451E2 #E25156 #9FE251 #51E2DD
square
#9451E2 #E25156 #9FE251 #51E2DD
split-complementary
#9451E2 #E2DD51 #56E251
monochromatic
#571A9E #7423D3 #9451E2 #B485EB #D5BAF3

Accessibility & contrast

On white

4.63
#9451E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#9451E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9451E2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9451E2#FFFFFF#000000##FFFFFF
##9451E21.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#1274DF
Tritanopia (blue-blind)
#847192
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9451e2;
/* rgb */ color: rgb(148, 81, 226);
/* oklch */ color: oklch(58.5% 0.211 301.4);
Tailwind
colors: {
  custom: {
    50: '#b986ec',
    500: '#9451e2',
    950: '#000000',
  },
}
SCSS
$custom: #9451e2;
$custom-light: #b986ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9451e2",
  "rgb": {
    "r": 148,
    "g": 81,
    "b": 226
  },
  "hsl": {
    "h": 267.724,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58532,
    "c": 0.21126,
    "h": 301.4
  },
  "luminance": 0.17672
}

Semantic roles & 50–950 ramp

primary
#9451E2
secondary
#CAE3AC
accent
#D3127A
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9451E2

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

Preview Lab → · Contrast checker → · Palette generator →

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