#9245D3#9245D3

#9245D3 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.7% C 0.210 H 305.4°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9245D3
RGBrgb(146, 69, 211)
HSLhsl(273, 62%, 55%)
HSVhsv(273, 67%, 83%)
CMYKcmyk(30.8%, 67.3%, 0%, 17.3%)
CIE-LABlab(45.73, 57.40, -60.37)
CIE-LCHlch(45.73, 83.30, 313.55°)
OKLaboklab(55.74% 0.1218 -0.1713)
OKLCHoklch(55.74% 0.21 305.4)
XYZxyz(25.7375, 15.0706, 63.1684)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9245D3 #86D345
analogous
#4B45D3 #9245D3 #D345CD
triadic
#9245D3 #D39245 #45D392
tetradic
#9245D3 #D34B45 #86D345 #45CDD3
square
#9245D3 #D34B45 #86D345 #45CDD3
split-complementary
#9245D3 #CDD345 #45D34B
monochromatic
#531E7F #732AB1 #9245D3 #AF76DF #CCA8EA

Accessibility & contrast

On white

5.23
#9245D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9245D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9245D3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9245D3#FFFFFF#000000##FFFFFF
##9245D31.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#176CD0
Tritanopia (blue-blind)
#866587
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9245d3;
/* rgb */ color: rgb(146, 69, 211);
/* oklch */ color: oklch(55.7% 0.210 305.4);
Tailwind
colors: {
  custom: {
    50: '#b77ee1',
    500: '#9245d3',
    950: '#000000',
  },
}
SCSS
$custom: #9245d3;
$custom-light: #b77ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#9245d3",
  "rgb": {
    "r": 146,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 272.535,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55738,
    "c": 0.21022,
    "h": 305.4
  },
  "luminance": 0.1507
}

Semantic roles & 50–950 ramp

primary
#9245D3
secondary
#B7D89C
accent
#E5438D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9245D3

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

Preview Lab → · Contrast checker → · Palette generator →

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