#9247CA#9247CA

#9247CA is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.4% C 0.198 H 307.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9247CA
RGBrgb(146, 71, 202)
HSLhsl(274, 55%, 54%)
HSVhsv(274, 65%, 79%)
CMYKcmyk(27.7%, 64.9%, 0%, 20.8%)
CIE-LABlab(45.47, 54.39, -55.61)
CIE-LCHlch(45.47, 77.79, 314.36°)
OKLaboklab(55.36% 0.1205 -0.1573)
OKLCHoklch(55.36% 0.198 307.4)
XYZxyz(24.7657, 14.8821, 57.4335)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9247CA #7FCA47
analogous
#5047CA #9247CA #CA47C0
triadic
#9247CA #CA9247 #47CA92
tetradic
#9247CA #CA5047 #7FCA47 #47C0CA
square
#9247CA #CA5047 #7FCA47 #47C0CA
split-complementary
#9247CA #C0CA47 #47CA50
monochromatic
#512275 #722FA4 #9247CA #AE77D8 #CAA6E5

Accessibility & contrast

On white

5.28
#9247CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9247CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9247CA
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9247CA#FFFFFF#000000##FFFFFF
##9247CA1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#2C6CC7
Tritanopia (blue-blind)
#896282
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9247ca;
/* rgb */ color: rgb(146, 71, 202);
/* oklch */ color: oklch(55.4% 0.198 307.4);
Tailwind
colors: {
  custom: {
    50: '#b67fdb',
    500: '#9247ca',
    950: '#000000',
  },
}
SCSS
$custom: #9247ca;
$custom-light: #b67fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9247ca",
  "rgb": {
    "r": 146,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 274.351,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55361,
    "c": 0.19816,
    "h": 307.4
  },
  "luminance": 0.14882
}

Semantic roles & 50–950 ramp

primary
#9247CA
secondary
#B2D29A
accent
#DF4989
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9247CA

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

Preview Lab → · Contrast checker → · Palette generator →

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