#9247C2#9247C2

#9247C2 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.8% C 0.190 H 309.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9247C2
RGBrgb(146, 71, 194)
HSLhsl(277, 50%, 52%)
HSVhsv(277, 63%, 76%)
CMYKcmyk(24.7%, 63.4%, 0%, 23.9%)
CIE-LABlab(44.96, 52.58, -51.80)
CIE-LCHlch(44.96, 73.81, 315.43°)
OKLaboklab(54.83% 0.1209 -0.1462)
OKLCHoklch(54.83% 0.19 309.6)
XYZxyz(23.8430, 14.5130, 52.5737)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9247C2 #77C247
analogous
#5547C2 #9247C2 #C247B5
triadic
#9247C2 #C29247 #47C292
tetradic
#9247C2 #C25547 #77C247 #47B5C2
square
#9247C2 #C25547 #77C247 #47B5C2
split-complementary
#9247C2 #B5C247 #47C255
monochromatic
#4F246B #713399 #9247C2 #AD75D1 #C8A3E0

Accessibility & contrast

On white

5.38
#9247C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9247C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9247C2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9247C2#FFFFFF#000000##FFFFFF
##9247C21.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#366BBF
Tritanopia (blue-blind)
#8B607E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9247c2;
/* rgb */ color: rgb(146, 71, 194);
/* oklch */ color: oklch(54.8% 0.190 309.6);
Tailwind
colors: {
  custom: {
    50: '#b67fd5',
    500: '#9247c2',
    950: '#000000',
  },
}
SCSS
$custom: #9247c2;
$custom-light: #b67fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#9247c2",
  "rgb": {
    "r": 146,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 276.585,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54828,
    "c": 0.1897,
    "h": 309.6
  },
  "luminance": 0.14513
}

Semantic roles & 50–950 ramp

primary
#9247C2
secondary
#ACCD97
accent
#DA4E85
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9247C2

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

Preview Lab → · Contrast checker → · Palette generator →

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