#9247DE#9247DE

#9247DE is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.8% C 0.219 H 302.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9247DE
RGBrgb(146, 71, 222)
HSLhsl(270, 70%, 57%)
HSVhsv(270, 68%, 87%)
CMYKcmyk(34.2%, 68%, 0%, 12.9%)
CIE-LABlab(46.83, 59.03, -64.88)
CIE-LCHlch(46.83, 87.71, 312.30°)
OKLaboklab(56.77% 0.1184 -0.1846)
OKLCHoklch(56.77% 0.219 302.7)
XYZxyz(27.2890, 15.8914, 70.7227)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9247DE #93DE47
analogous
#4748DE #9247DE #DD47DE
triadic
#9247DE #DE9247 #47DE92
tetradic
#9247DE #DE4748 #93DE47 #47DEDD
square
#9247DE #DE4748 #93DE47 #47DEDD
split-complementary
#9247DE #DEDD47 #48DE47
monochromatic
#551A91 #7323C5 #9247DE #B17BE7 #CFAFF1

Accessibility & contrast

On white

5.03
#9247DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9247DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9247DE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9247DE#FFFFFF#000000##FFFFFF
##9247DE1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE2
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#836A8D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9247de;
/* rgb */ color: rgb(146, 71, 222);
/* oklch */ color: oklch(56.8% 0.219 302.7);
Tailwind
colors: {
  custom: {
    50: '#b780e9',
    500: '#9247de',
    950: '#000000',
  },
}
SCSS
$custom: #9247de;
$custom-light: #b780e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9247de",
  "rgb": {
    "r": 146,
    "g": 71,
    "b": 222
  },
  "hsl": {
    "h": 269.801,
    "s": 69.585,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56767,
    "c": 0.21926,
    "h": 302.7
  },
  "luminance": 0.15891
}

Semantic roles & 50–950 ramp

primary
#9247DE
secondary
#C1DFA2
accent
#EC3B94
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9247DE

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

Preview Lab → · Contrast checker → · Palette generator →

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