#9245C2#9245C2

#9245C2 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.6% C 0.192 H 309.8°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9245C2
RGBrgb(146, 69, 194)
HSLhsl(277, 51%, 52%)
HSVhsv(277, 64%, 76%)
CMYKcmyk(24.7%, 64.4%, 0%, 23.9%)
CIE-LABlab(44.61, 53.55, -52.37)
CIE-LCHlch(44.61, 74.90, 315.64°)
OKLaboklab(54.57% 0.1233 -0.1478)
OKLCHoklch(54.57% 0.192 309.8)
XYZxyz(23.7179, 14.2627, 52.5320)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9245C2 #75C245
analogous
#5445C2 #9245C2 #C245B4
triadic
#9245C2 #C29245 #45C292
tetradic
#9245C2 #C25445 #75C245 #45B4C2
square
#9245C2 #C25445 #75C245 #45B4C2
split-complementary
#9245C2 #B4C245 #45C254
monochromatic
#4F236A #713298 #9245C2 #AD73D1 #C8A1E0

Accessibility & contrast

On white

5.45
#9245C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#9245C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9245C2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9245C2#FFFFFF#000000##FFFFFF
##9245C21.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#346BBF
Tritanopia (blue-blind)
#8B5E7D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9245c2;
/* rgb */ color: rgb(146, 69, 194);
/* oklch */ color: oklch(54.6% 0.192 309.8);
Tailwind
colors: {
  custom: {
    50: '#b67dd5',
    500: '#9245c2',
    950: '#000000',
  },
}
SCSS
$custom: #9245c2;
$custom-light: #b67dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#9245c2",
  "rgb": {
    "r": 146,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 276.96,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54573,
    "c": 0.19247,
    "h": 309.8
  },
  "luminance": 0.14262
}

Semantic roles & 50–950 ramp

primary
#9245C2
secondary
#ABCD96
accent
#DA4E84
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9245C2

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

Preview Lab → · Contrast checker → · Palette generator →

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