#9245DA#9245DA

#9245DA is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.2% C 0.218 H 303.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9245DA
RGBrgb(146, 69, 218)
HSLhsl(271, 67%, 56%)
HSVhsv(271, 68%, 85%)
CMYKcmyk(33%, 68.3%, 0%, 14.5%)
CIE-LABlab(46.22, 59.02, -63.59)
CIE-LCHlch(46.22, 86.76, 312.86°)
OKLaboklab(56.24% 0.121 -0.1808)
OKLCHoklch(56.24% 0.218 303.8)
XYZxyz(26.6342, 15.4292, 67.8911)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9245DA #8DDA45
analogous
#4845DA #9245DA #DA45D7
triadic
#9245DA #DA9245 #45DA92
tetradic
#9245DA #DA4845 #8DDA45 #45D7DA
square
#9245DA #DA4845 #8DDA45 #45D7DA
split-complementary
#9245DA #D7DA45 #45DA48
monochromatic
#541B89 #7325BC #9245DA #B078E4 #CEABEE

Accessibility & contrast

On white

5.14
#9245DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9245DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9245DA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9245DA#FFFFFF#000000##FFFFFF
##9245DA1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDE
Deuteranopia (green-blind)
#006DD7
Tritanopia (blue-blind)
#84678A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9245da;
/* rgb */ color: rgb(146, 69, 218);
/* oklch */ color: oklch(56.2% 0.218 303.8);
Tailwind
colors: {
  custom: {
    50: '#b77ee6',
    500: '#9245da',
    950: '#000000',
  },
}
SCSS
$custom: #9245da;
$custom-light: #b77ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#9245da",
  "rgb": {
    "r": 146,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 271.007,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56239,
    "c": 0.21752,
    "h": 303.8
  },
  "luminance": 0.15429
}

Semantic roles & 50–950 ramp

primary
#9245DA
secondary
#BCDC9F
accent
#EA3E91
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9245DA

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

Preview Lab → · Contrast checker → · Palette generator →

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