#9247DB#9247DB

#9247DB is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.5% C 0.216 H 303.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9247DB
RGBrgb(146, 71, 219)
HSLhsl(270, 67%, 57%)
HSVhsv(270, 68%, 86%)
CMYKcmyk(33.3%, 67.6%, 0%, 14.1%)
CIE-LABlab(46.62, 58.32, -63.51)
CIE-LCHlch(46.62, 86.22, 312.56°)
OKLaboklab(56.55% 0.1188 -0.1805)
OKLCHoklch(56.55% 0.216 303.3)
XYZxyz(26.8905, 15.7320, 68.6240)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9247DB #90DB47
analogous
#4847DB #9247DB #DB47DA
triadic
#9247DB #DB9247 #47DB92
tetradic
#9247DB #DB4847 #90DB47 #47DADB
square
#9247DB #DB4847 #90DB47 #47DADB
split-complementary
#9247DB #DADB47 #47DB48
monochromatic
#551B8C #7325BF #9247DB #B07AE5 #CFADEF

Accessibility & contrast

On white

5.06
#9247DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9247DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9247DB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9247DB#FFFFFF#000000##FFFFFF
##9247DB1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#84698B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9247db;
/* rgb */ color: rgb(146, 71, 219);
/* oklch */ color: oklch(56.5% 0.216 303.3);
Tailwind
colors: {
  custom: {
    50: '#b77fe7',
    500: '#9247db',
    950: '#000000',
  },
}
SCSS
$custom: #9247db;
$custom-light: #b77fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#9247db",
  "rgb": {
    "r": 146,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 270.405,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5655,
    "c": 0.2161,
    "h": 303.3
  },
  "luminance": 0.15732
}

Semantic roles & 50–950 ramp

primary
#9247DB
secondary
#BEDDA1
accent
#EA3E93
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9247DB

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

Preview Lab → · Contrast checker → · Palette generator →

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