#9451F2#9451F2

#9451F2 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.7% C 0.229 H 298.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9451F2
RGBrgb(148, 81, 242)
HSLhsl(265, 86%, 63%)
HSVhsv(265, 67%, 95%)
CMYKcmyk(38.8%, 66.5%, 0%, 5.1%)
CIE-LABlab(50.21, 59.46, -70.68)
CIE-LCHlch(50.21, 92.37, 310.07°)
OKLaboklab(59.68% 0.1082 -0.2016)
OKLCHoklch(59.68% 0.229 298.2)
XYZxyz(31.1781, 18.5911, 85.9330)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9451F2 #AFF251
analogous
#515EF2 #9451F2 #E451F2
triadic
#9451F2 #F29451 #51F294
tetradic
#9451F2 #F2515E #AFF251 #51F2E4
square
#9451F2 #F2515E #AFF251 #51F2E4
split-complementary
#9451F2 #F2E451 #5EF251
monochromatic
#560EBB #7118EE #9451F2 #B78AF6 #DAC3FB

Accessibility & contrast

On white

4.45
#9451F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#9451F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9451F2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9451F2#FFFFFF#000000##000000
##9451F21.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#7D779B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9451f2;
/* rgb */ color: rgb(148, 81, 242);
/* oklch */ color: oklch(59.7% 0.229 298.2);
Tailwind
colors: {
  custom: {
    50: '#ba86f7',
    500: '#9451f2',
    950: '#000000',
  },
}
SCSS
$custom: #9451f2;
$custom-light: #ba86f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9451f2",
  "rgb": {
    "r": 148,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 264.969,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5968,
    "c": 0.22879,
    "h": 298.2
  },
  "luminance": 0.18592
}

Semantic roles & 50–950 ramp

primary
#9451F2
secondary
#D4ECB3
accent
#E30386
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120B17
muted
#817C85

Preview Lab

Preview with #9451F2

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

Preview Lab → · Contrast checker → · Palette generator →

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