#9247D2#9247D2

#9247D2 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.9% C 0.207 H 305.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9247D2
RGBrgb(146, 71, 210)
HSLhsl(272, 61%, 55%)
HSVhsv(272, 66%, 82%)
CMYKcmyk(30.5%, 66.2%, 0%, 17.6%)
CIE-LABlab(46.00, 56.23, -59.36)
CIE-LCHlch(46.00, 81.76, 313.45°)
OKLaboklab(55.91% 0.1198 -0.1683)
OKLCHoklch(55.91% 0.207 305.4)
XYZxyz(25.7376, 15.2708, 62.5519)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9247D2 #87D247
analogous
#4C47D2 #9247D2 #D247CD
triadic
#9247D2 #D29247 #47D292
tetradic
#9247D2 #D24C47 #87D247 #47CDD2
square
#9247D2 #D24C47 #87D247 #47CDD2
split-complementary
#9247D2 #CDD247 #47D24C
monochromatic
#531F7F #732BB1 #9247D2 #AF78DE #CCA9EA

Accessibility & contrast

On white

5.18
#9247D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9247D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9247D2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9247D2#FFFFFF#000000##FFFFFF
##9247D21.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#1E6DCF
Tritanopia (blue-blind)
#876587
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9247d2;
/* rgb */ color: rgb(146, 71, 210);
/* oklch */ color: oklch(55.9% 0.207 305.4);
Tailwind
colors: {
  custom: {
    50: '#b77fe1',
    500: '#9247d2',
    950: '#000000',
  },
}
SCSS
$custom: #9247d2;
$custom-light: #b77fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#9247d2",
  "rgb": {
    "r": 146,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 272.374,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55912,
    "c": 0.20661,
    "h": 305.4
  },
  "luminance": 0.15271
}

Semantic roles & 50–950 ramp

primary
#9247D2
secondary
#B8D89D
accent
#E4448E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9247D2

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

Preview Lab → · Contrast checker → · Palette generator →

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