#9247CB#9247CB

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

Color values

HEX#9247CB
RGBrgb(146, 71, 203)
HSLhsl(274, 56%, 54%)
HSVhsv(274, 65%, 80%)
CMYKcmyk(28.1%, 65%, 0%, 20.4%)
CIE-LABlab(45.54, 54.62, -56.08)
CIE-LCHlch(45.54, 78.28, 314.24°)
OKLaboklab(55.43% 0.1204 -0.1587)
OKLCHoklch(55.43% 0.199 307.2)
XYZxyz(24.8845, 14.9296, 58.0591)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9247CB #80CB47
analogous
#5047CB #9247CB #CB47C2
triadic
#9247CB #CB9247 #47CB92
tetradic
#9247CB #CB5047 #80CB47 #47C2CB
square
#9247CB #CB5047 #80CB47 #47C2CB
split-complementary
#9247CB #C2CB47 #47CB50
monochromatic
#522176 #732FA6 #9247CB #AE77D8 #CBA6E6

Accessibility & contrast

On white

5.27
#9247CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9247CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9247CB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9247CB#FFFFFF#000000##FFFFFF
##9247CB1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#2B6CC8
Tritanopia (blue-blind)
#896383
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9247cb;
/* rgb */ color: rgb(146, 71, 203);
/* oklch */ color: oklch(55.4% 0.199 307.2);
Tailwind
colors: {
  custom: {
    50: '#b67fdc',
    500: '#9247cb',
    950: '#000000',
  },
}
SCSS
$custom: #9247cb;
$custom-light: #b67fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9247cb",
  "rgb": {
    "r": 146,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 274.091,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55429,
    "c": 0.19921,
    "h": 307.2
  },
  "luminance": 0.14929
}

Semantic roles & 50–950 ramp

primary
#9247CB
secondary
#B3D39B
accent
#DF498A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9247CB

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

Preview Lab → · Contrast checker → · Palette generator →

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