#9245D8#9245D8

#9245D8 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.1% C 0.215 H 304.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9245D8
RGBrgb(146, 69, 216)
HSLhsl(271, 65%, 56%)
HSVhsv(271, 68%, 85%)
CMYKcmyk(32.4%, 68.1%, 0%, 15.3%)
CIE-LABlab(46.08, 58.55, -62.68)
CIE-LCHlch(46.08, 85.77, 313.05°)
OKLaboklab(56.09% 0.1212 -0.1781)
OKLCHoklch(56.09% 0.215 304.2)
XYZxyz(26.3740, 15.3252, 66.5210)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9245D8 #8BD845
analogous
#4845D8 #9245D8 #D845D4
triadic
#9245D8 #D89245 #45D892
tetradic
#9245D8 #D84845 #8BD845 #45D4D8
square
#9245D8 #D84845 #8BD845 #45D4D8
split-complementary
#9245D8 #D4D845 #45D848
monochromatic
#541C86 #7327B9 #9245D8 #B078E3 #CDAAED

Accessibility & contrast

On white

5.17
#9245D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#9245D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9245D8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9245D8#FFFFFF#000000##FFFFFF
##9245D81.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#016DD5
Tritanopia (blue-blind)
#856689
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9245d8;
/* rgb */ color: rgb(146, 69, 216);
/* oklch */ color: oklch(56.1% 0.215 304.2);
Tailwind
colors: {
  custom: {
    50: '#b77ee5',
    500: '#9245d8',
    950: '#000000',
  },
}
SCSS
$custom: #9245d8;
$custom-light: #b77ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#9245d8",
  "rgb": {
    "r": 146,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 271.429,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56095,
    "c": 0.21543,
    "h": 304.2
  },
  "luminance": 0.15325
}

Semantic roles & 50–950 ramp

primary
#9245D8
secondary
#BBDB9E
accent
#E84090
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9245D8

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

Preview Lab → · Contrast checker → · Palette generator →

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