#9245D2#9245D2

#9245D2 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.7% C 0.209 H 305.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9245D2
RGBrgb(146, 69, 210)
HSLhsl(273, 61%, 55%)
HSVhsv(273, 67%, 82%)
CMYKcmyk(30.5%, 67.1%, 0%, 17.6%)
CIE-LABlab(45.66, 57.17, -59.91)
CIE-LCHlch(45.66, 82.81, 313.66°)
OKLaboklab(55.67% 0.1219 -0.17)
OKLCHoklch(55.67% 0.209 305.7)
XYZxyz(25.6125, 15.0206, 62.5102)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9245D2 #85D245
analogous
#4C45D2 #9245D2 #D245CC
triadic
#9245D2 #D29245 #45D292
tetradic
#9245D2 #D24C45 #85D245 #45CCD2
square
#9245D2 #D24C45 #85D245 #45CCD2
split-complementary
#9245D2 #CCD245 #45D24C
monochromatic
#531F7E #732AAF #9245D2 #AF76DE #CCA8EA

Accessibility & contrast

On white

5.24
#9245D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9245D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9245D2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9245D2#FFFFFF#000000##FFFFFF
##9245D21.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#196CCF
Tritanopia (blue-blind)
#876486
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9245d2;
/* rgb */ color: rgb(146, 69, 210);
/* oklch */ color: oklch(55.7% 0.209 305.7);
Tailwind
colors: {
  custom: {
    50: '#b77ee1',
    500: '#9245d2',
    950: '#000000',
  },
}
SCSS
$custom: #9245d2;
$custom-light: #b77ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#9245d2",
  "rgb": {
    "r": 146,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 272.766,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55667,
    "c": 0.20918,
    "h": 305.7
  },
  "luminance": 0.1502
}

Semantic roles & 50–950 ramp

primary
#9245D2
secondary
#B7D79C
accent
#E4448D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9245D2

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

Preview Lab → · Contrast checker → · Palette generator →

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