#9245CE#9245CE

#9245CE is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.4% C 0.205 H 306.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9245CE
RGBrgb(146, 69, 206)
HSLhsl(274, 58%, 54%)
HSVhsv(274, 67%, 81%)
CMYKcmyk(29.1%, 66.5%, 0%, 19.2%)
CIE-LABlab(45.39, 56.25, -58.05)
CIE-LCHlch(45.39, 80.83, 314.10°)
OKLaboklab(55.39% 0.1224 -0.1645)
OKLCHoklch(55.39% 0.205 306.6)
XYZxyz(25.1204, 14.8237, 59.9185)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9245CE #81CE45
analogous
#4E45CE #9245CE #CE45C5
triadic
#9245CE #CE9245 #45CE92
tetradic
#9245CE #CE4E45 #81CE45 #45C5CE
square
#9245CE #CE4E45 #81CE45 #45C5CE
split-complementary
#9245CE #C5CE45 #45CE4E
monochromatic
#522079 #732DA9 #9245CE #AE75DB #CBA6E8

Accessibility & contrast

On white

5.30
#9245CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9245CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9245CE
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9245CE#FFFFFF#000000##FFFFFF
##9245CE1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#226CCB
Tritanopia (blue-blind)
#886384
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9245ce;
/* rgb */ color: rgb(146, 69, 206);
/* oklch */ color: oklch(55.4% 0.205 306.6);
Tailwind
colors: {
  custom: {
    50: '#b67ede',
    500: '#9245ce',
    950: '#000000',
  },
}
SCSS
$custom: #9245ce;
$custom-light: #b67ede;
$custom-dark: #000000;
JSON
{
  "hex": "#9245ce",
  "rgb": {
    "r": 146,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 273.723,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55387,
    "c": 0.205,
    "h": 306.6
  },
  "luminance": 0.14823
}

Semantic roles & 50–950 ramp

primary
#9245CE
secondary
#B4D59A
accent
#E2468A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9245CE

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

Preview Lab → · Contrast checker → · Palette generator →

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