#9252DB#9252DB

#9252DB is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.0% C 0.202 H 301.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9252DB
RGBrgb(146, 82, 219)
HSLhsl(268, 66%, 59%)
HSVhsv(268, 63%, 86%)
CMYKcmyk(33.3%, 62.6%, 0%, 14.1%)
CIE-LABlab(48.59, 52.93, -60.33)
CIE-LCHlch(48.59, 80.26, 311.26°)
OKLaboklab(57.97% 0.1067 -0.1713)
OKLCHoklch(57.97% 0.202 301.9)
XYZxyz(27.6545, 17.2600, 68.8787)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9252DB #9BDB52
analogous
#5257DB #9252DB #D652DB
triadic
#9252DB #DB9252 #52DB92
tetradic
#9252DB #DB5257 #9BDB52 #52DBD6
square
#9252DB #DB5257 #9BDB52 #52DBD6
split-complementary
#9252DB #DBD652 #57DB52
monochromatic
#551F94 #7329C6 #9252DB #B285E6 #D2B7F0

Accessibility & contrast

On white

4.72
#9252DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9252DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9252DB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9252DB#FFFFFF#000000##FFFFFF
##9252DB1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#2373D8
Tritanopia (blue-blind)
#83708F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9252db;
/* rgb */ color: rgb(146, 82, 219);
/* oklch */ color: oklch(58.0% 0.202 301.9);
Tailwind
colors: {
  custom: {
    50: '#b786e7',
    500: '#9252db',
    950: '#000000',
  },
}
SCSS
$custom: #9252db;
$custom-light: #b786e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9252db",
  "rgb": {
    "r": 146,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 268.029,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57965,
    "c": 0.20178,
    "h": 301.9
  },
  "luminance": 0.1726
}

Semantic roles & 50–950 ramp

primary
#9252DB
secondary
#C6DFAA
accent
#E93F99
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9252DB

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

Preview Lab → · Contrast checker → · Palette generator →

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