#9247C8#9247C8

#9247C8 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.2% C 0.196 H 308.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9247C8
RGBrgb(146, 71, 200)
HSLhsl(275, 54%, 53%)
HSVhsv(275, 65%, 78%)
CMYKcmyk(27%, 64.5%, 0%, 21.6%)
CIE-LABlab(45.34, 53.93, -54.66)
CIE-LCHlch(45.34, 76.79, 314.62°)
OKLaboklab(55.23% 0.1206 -0.1546)
OKLCHoklch(55.23% 0.196 308)
XYZxyz(24.5305, 14.7879, 56.1945)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9247C8 #7DC847
analogous
#5147C8 #9247C8 #C847BD
triadic
#9247C8 #C89247 #47C892
tetradic
#9247C8 #C85147 #7DC847 #47BDC8
square
#9247C8 #C85147 #7DC847 #47BDC8
split-complementary
#9247C8 #BDC847 #47C851
monochromatic
#512272 #7230A2 #9247C8 #AE76D6 #CAA5E4

Accessibility & contrast

On white

5.31
#9247C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9247C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9247C8
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9247C8#FFFFFF#000000##FFFFFF
##9247C81.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#2F6CC5
Tritanopia (blue-blind)
#8A6281
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9247c8;
/* rgb */ color: rgb(146, 71, 200);
/* oklch */ color: oklch(55.2% 0.196 308.0);
Tailwind
colors: {
  custom: {
    50: '#b67fd9',
    500: '#9247c8',
    950: '#000000',
  },
}
SCSS
$custom: #9247c8;
$custom-light: #b67fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9247c8",
  "rgb": {
    "r": 146,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 274.884,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55226,
    "c": 0.19604,
    "h": 308
  },
  "luminance": 0.14788
}

Semantic roles & 50–950 ramp

primary
#9247C8
secondary
#B1D19A
accent
#DD4A88
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9247C8

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

Preview Lab → · Contrast checker → · Palette generator →

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