#9248DB#9248DB

#9248DB is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.7% C 0.215 H 303.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9248DB
RGBrgb(146, 72, 219)
HSLhsl(270, 67%, 57%)
HSVhsv(270, 67%, 86%)
CMYKcmyk(33.3%, 67.1%, 0%, 14.1%)
CIE-LABlab(46.79, 57.85, -63.23)
CIE-LCHlch(46.79, 85.70, 312.45°)
OKLaboklab(56.67% 0.1177 -0.1797)
OKLCHoklch(56.67% 0.215 303.2)
XYZxyz(26.9546, 15.8602, 68.6454)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9248DB #91DB48
analogous
#4948DB #9248DB #DB48DB
triadic
#9248DB #DB9248 #48DB92
tetradic
#9248DB #DB4948 #91DB48 #48DBDB
square
#9248DB #DB4948 #91DB48 #48DBDB
split-complementary
#9248DB #DBDB48 #48DB49
monochromatic
#551C8D #7326C0 #9248DB #B07BE5 #CFAEEF

Accessibility & contrast

On white

5.03
#9248DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#9248DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9248DB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9248DB#FFFFFF#000000##FFFFFF
##9248DB1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9248db;
/* rgb */ color: rgb(146, 72, 219);
/* oklch */ color: oklch(56.7% 0.215 303.2);
Tailwind
colors: {
  custom: {
    50: '#b780e7',
    500: '#9248db',
    950: '#000000',
  },
}
SCSS
$custom: #9248db;
$custom-light: #b780e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9248db",
  "rgb": {
    "r": 146,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 270.204,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56672,
    "c": 0.21485,
    "h": 303.2
  },
  "luminance": 0.1586
}

Semantic roles & 50–950 ramp

primary
#9248DB
secondary
#BFDDA2
accent
#EA3E93
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9248DB

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

Preview Lab → · Contrast checker → · Palette generator →

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