#9247D5#9247D5

#9247D5 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.1% C 0.210 H 304.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9247D5
RGBrgb(146, 71, 213)
HSLhsl(272, 63%, 56%)
HSVhsv(272, 67%, 84%)
CMYKcmyk(31.5%, 66.7%, 0%, 16.5%)
CIE-LABlab(46.21, 56.92, -60.75)
CIE-LCHlch(46.21, 83.25, 313.14°)
OKLaboklab(56.12% 0.1195 -0.1724)
OKLCHoklch(56.12% 0.21 304.7)
XYZxyz(26.1149, 15.4217, 64.5388)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9247D5 #8AD547
analogous
#4B47D5 #9247D5 #D547D1
triadic
#9247D5 #D59247 #47D592
tetradic
#9247D5 #D54B47 #8AD547 #47D1D5
square
#9247D5 #D54B47 #8AD547 #47D1D5
split-complementary
#9247D5 #D1D547 #47D54B
monochromatic
#541E84 #7329B5 #9247D5 #B079E0 #CDABEC

Accessibility & contrast

On white

5.14
#9247D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9247D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9247D5
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9247D5#FFFFFF#000000##FFFFFF
##9247D51.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#166ED2
Tritanopia (blue-blind)
#866788
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9247d5;
/* rgb */ color: rgb(146, 71, 213);
/* oklch */ color: oklch(56.1% 0.210 304.7);
Tailwind
colors: {
  custom: {
    50: '#b77fe3',
    500: '#9247d5',
    950: '#000000',
  },
}
SCSS
$custom: #9247d5;
$custom-light: #b77fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#9247d5",
  "rgb": {
    "r": 146,
    "g": 71,
    "b": 213
  },
  "hsl": {
    "h": 271.69,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56122,
    "c": 0.20978,
    "h": 304.7
  },
  "luminance": 0.15422
}

Semantic roles & 50–950 ramp

primary
#9247D5
secondary
#BAD99E
accent
#E6428F
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A15
muted
#817C84

Preview Lab

Preview with #9247D5

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

Preview Lab → · Contrast checker → · Palette generator →

#9247D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva