#9249DB#9249DB

#9249DB is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.214 H 303.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9249DB
RGBrgb(146, 73, 219)
HSLhsl(270, 67%, 57%)
HSVhsv(270, 67%, 86%)
CMYKcmyk(33.3%, 66.7%, 0%, 14.1%)
CIE-LABlab(46.96, 57.38, -62.96)
CIE-LCHlch(46.96, 85.18, 312.34°)
OKLaboklab(56.79% 0.1166 -0.1789)
OKLCHoklch(56.79% 0.214 303.1)
XYZxyz(27.0198, 15.9906, 68.6671)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9249DB #92DB49
analogous
#4949DB #9249DB #DB49DB
triadic
#9249DB #DB9249 #49DB92
tetradic
#9249DB #DB4949 #92DB49 #49DBDB
square
#9249DB #DB4949 #92DB49 #49DBDB
split-complementary
#9249DB #DBDB49 #49DB49
monochromatic
#551C8E #7326C1 #9249DB #B17CE5 #CFAFEF

Accessibility & contrast

On white

5.00
#9249DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9249DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9249DB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9249DB#FFFFFF#000000##FFFFFF
##9249DB1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#056FD8
Tritanopia (blue-blind)
#846A8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9249db;
/* rgb */ color: rgb(146, 73, 219);
/* oklch */ color: oklch(56.8% 0.214 303.1);
Tailwind
colors: {
  custom: {
    50: '#b781e7',
    500: '#9249db',
    950: '#000000',
  },
}
SCSS
$custom: #9249db;
$custom-light: #b781e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9249db",
  "rgb": {
    "r": 146,
    "g": 73,
    "b": 219
  },
  "hsl": {
    "h": 270,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56794,
    "c": 0.21359,
    "h": 303.1
  },
  "luminance": 0.15991
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9249DB

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

Preview Lab → · Contrast checker → · Palette generator →

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