#9248CA#9248CA

#9248CA is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.5% C 0.197 H 307.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9248CA
RGBrgb(146, 72, 202)
HSLhsl(274, 55%, 54%)
HSVhsv(274, 64%, 79%)
CMYKcmyk(27.7%, 64.4%, 0%, 20.8%)
CIE-LABlab(45.65, 53.91, -55.33)
CIE-LCHlch(45.65, 77.25, 314.25°)
OKLaboklab(55.49% 0.1193 -0.1565)
OKLCHoklch(55.49% 0.197 307.3)
XYZxyz(24.8299, 15.0103, 57.4549)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9248CA #80CA48
analogous
#5148CA #9248CA #CA48C1
triadic
#9248CA #CA9248 #48CA92
tetradic
#9248CA #CA5148 #80CA48 #48C1CA
square
#9248CA #CA5148 #80CA48 #48C1CA
split-complementary
#9248CA #C1CA48 #48CA51
monochromatic
#522276 #7330A5 #9248CA #AE77D8 #CBA7E5

Accessibility & contrast

On white

5.25
#9248CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9248CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9248CA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9248CA#FFFFFF#000000##FFFFFF
##9248CA1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9248ca;
/* rgb */ color: rgb(146, 72, 202);
/* oklch */ color: oklch(55.5% 0.197 307.3);
Tailwind
colors: {
  custom: {
    50: '#b67fdb',
    500: '#9248ca',
    950: '#000000',
  },
}
SCSS
$custom: #9248ca;
$custom-light: #b67fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9248ca",
  "rgb": {
    "r": 146,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 274.154,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55488,
    "c": 0.1968,
    "h": 307.3
  },
  "luminance": 0.1501
}

Semantic roles & 50–950 ramp

primary
#9248CA
secondary
#B3D39B
accent
#DE498A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9248CA

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

Preview Lab → · Contrast checker → · Palette generator →

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