#9148CF#9148CF

#9148CF is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.7% C 0.202 H 305.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9148CF
RGBrgb(145, 72, 207)
HSLhsl(272, 58%, 55%)
HSVhsv(272, 65%, 81%)
CMYKcmyk(30%, 65.2%, 0%, 18.8%)
CIE-LABlab(45.85, 54.84, -57.89)
CIE-LCHlch(45.85, 79.74, 313.45°)
OKLaboklab(55.71% 0.1176 -0.1641)
OKLCHoklch(55.71% 0.202 305.6)
XYZxyz(25.2544, 15.1597, 60.6151)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9148CF #86CF48
analogous
#4D48CF #9148CF #CF48CA
triadic
#9148CF #CF9148 #48CF91
tetradic
#9148CF #CF4D48 #86CF48 #48CACF
square
#9148CF #CF4D48 #86CF48 #48CACF
split-complementary
#9148CF #CACF48 #48CF4D
monochromatic
#52217C #722DAD #9148CF #AE78DC #CBA9E8

Accessibility & contrast

On white

5.21
#9148CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9148CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9148CF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9148CF#FFFFFF#000000##FFFFFF
##9148CF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#246DCC
Tritanopia (blue-blind)
#866585
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9148cf;
/* rgb */ color: rgb(145, 72, 207);
/* oklch */ color: oklch(55.7% 0.202 305.6);
Tailwind
colors: {
  custom: {
    50: '#b680de',
    500: '#9148cf',
    950: '#000000',
  },
}
SCSS
$custom: #9148cf;
$custom-light: #b680de;
$custom-dark: #000000;
JSON
{
  "hex": "#9148cf",
  "rgb": {
    "r": 145,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 272.444,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55712,
    "c": 0.20187,
    "h": 305.6
  },
  "luminance": 0.15159
}

Semantic roles & 50–950 ramp

primary
#9148CF
secondary
#B7D69D
accent
#E2468E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9148CF

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

Preview Lab → · Contrast checker → · Palette generator →

#9148CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva