#9148DB#9148DB

#9148DB is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.6% C 0.215 H 302.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9148DB
RGBrgb(145, 72, 219)
HSLhsl(270, 67%, 57%)
HSVhsv(270, 67%, 86%)
CMYKcmyk(33.8%, 67.1%, 0%, 14.1%)
CIE-LABlab(46.67, 57.65, -63.44)
CIE-LCHlch(46.67, 85.72, 312.26°)
OKLaboklab(56.56% 0.1164 -0.1804)
OKLCHoklch(56.56% 0.215 302.8)
XYZxyz(26.7776, 15.7689, 68.6371)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9148DB #92DB48
analogous
#4849DB #9148DB #DB48DB
triadic
#9148DB #DB9148 #48DB91
tetradic
#9148DB #DB4849 #92DB48 #48DBDB
square
#9148DB #DB4849 #92DB48 #48DBDB
split-complementary
#9148DB #DBDB48 #49DB48
monochromatic
#541C8D #7226C0 #9148DB #B07BE5 #CEAEEF

Accessibility & contrast

On white

5.06
#9148DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9148DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9148DB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9148DB#FFFFFF#000000##FFFFFF
##9148DB1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#82698C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9148db;
/* rgb */ color: rgb(145, 72, 219);
/* oklch */ color: oklch(56.6% 0.215 302.8);
Tailwind
colors: {
  custom: {
    50: '#b780e7',
    500: '#9148db',
    950: '#000000',
  },
}
SCSS
$custom: #9148db;
$custom-light: #b780e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9148db",
  "rgb": {
    "r": 145,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 269.796,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56559,
    "c": 0.21465,
    "h": 302.8
  },
  "luminance": 0.15769
}

Semantic roles & 50–950 ramp

primary
#9148DB
secondary
#C0DDA2
accent
#EA3E94
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9148DB

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

Preview Lab → · Contrast checker → · Palette generator →

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