#9247DC#9247DC

#9247DC is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.6% C 0.217 H 303.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9247DC
RGBrgb(146, 71, 220)
HSLhsl(270, 68%, 57%)
HSVhsv(270, 68%, 86%)
CMYKcmyk(33.6%, 67.7%, 0%, 13.7%)
CIE-LABlab(46.69, 58.56, -63.97)
CIE-LCHlch(46.69, 86.72, 312.47°)
OKLaboklab(56.62% 0.1186 -0.1819)
OKLCHoklch(56.62% 0.217 303.1)
XYZxyz(27.0226, 15.7848, 69.3194)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9247DC #91DC47
analogous
#4747DC #9247DC #DC47DC
triadic
#9247DC #DC9247 #47DC92
tetradic
#9247DC #DC4747 #91DC47 #47DCDC
square
#9247DC #DC4747 #91DC47 #47DCDC
split-complementary
#9247DC #DCDC47 #47DC47
monochromatic
#551B8E #7325C1 #9247DC #B07AE6 #CFAEF0

Accessibility & contrast

On white

5.05
#9247DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9247DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9247DC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9247DC#FFFFFF#000000##FFFFFF
##9247DC1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#83698C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9247dc;
/* rgb */ color: rgb(146, 71, 220);
/* oklch */ color: oklch(56.6% 0.217 303.1);
Tailwind
colors: {
  custom: {
    50: '#b77fe8',
    500: '#9247dc',
    950: '#000000',
  },
}
SCSS
$custom: #9247dc;
$custom-light: #b77fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#9247dc",
  "rgb": {
    "r": 146,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 270.201,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56622,
    "c": 0.21715,
    "h": 303.1
  },
  "luminance": 0.15785
}

Semantic roles & 50–950 ramp

primary
#9247DC
secondary
#BFDEA1
accent
#EB3D93
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9247DC

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

Preview Lab → · Contrast checker → · Palette generator →

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