#9245CC#9245CC

#9245CC is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.2% C 0.203 H 307.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9245CC
RGBrgb(146, 69, 204)
HSLhsl(274, 57%, 54%)
HSVhsv(274, 66%, 80%)
CMYKcmyk(28.4%, 66.2%, 0%, 20%)
CIE-LABlab(45.26, 55.80, -57.11)
CIE-LCHlch(45.26, 79.84, 314.33°)
OKLaboklab(55.25% 0.1225 -0.1617)
OKLCHoklch(55.25% 0.203 307.2)
XYZxyz(24.8790, 14.7272, 58.6470)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9245CC #7FCC45
analogous
#4E45CC #9245CC #CC45C2
triadic
#9245CC #CC9245 #45CC92
tetradic
#9245CC #CC4E45 #7FCC45 #45C2CC
square
#9245CC #CC4E45 #7FCC45 #45C2CC
split-complementary
#9245CC #C2CC45 #45CC4E
monochromatic
#512076 #722EA6 #9245CC #AE75D9 #CAA5E6

Accessibility & contrast

On white

5.32
#9245CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9245CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9245CC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9245CC#FFFFFF#000000##FFFFFF
##9245CC1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#266CC9
Tritanopia (blue-blind)
#896283
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9245cc;
/* rgb */ color: rgb(146, 69, 204);
/* oklch */ color: oklch(55.2% 0.203 307.2);
Tailwind
colors: {
  custom: {
    50: '#b67edc',
    500: '#9245cc',
    950: '#000000',
  },
}
SCSS
$custom: #9245cc;
$custom-light: #b67edc;
$custom-dark: #000000;
JSON
{
  "hex": "#9245cc",
  "rgb": {
    "r": 146,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 274.222,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55249,
    "c": 0.20291,
    "h": 307.2
  },
  "luminance": 0.14727
}

Semantic roles & 50–950 ramp

primary
#9245CC
secondary
#B2D399
accent
#E04889
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9245CC

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

Preview Lab → · Contrast checker → · Palette generator →

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