#9252DC#9252DC

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

Color values

HEX#9252DC
RGBrgb(146, 82, 220)
HSLhsl(268, 66%, 59%)
HSVhsv(268, 63%, 86%)
CMYKcmyk(33.6%, 62.7%, 0%, 13.7%)
CIE-LABlab(48.65, 53.17, -60.79)
CIE-LCHlch(48.65, 80.77, 311.17°)
OKLaboklab(58.03% 0.1067 -0.1726)
OKLCHoklch(58.03% 0.203 301.7)
XYZxyz(27.7866, 17.3128, 69.5741)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9252DC #9CDC52
analogous
#5257DC #9252DC #D752DC
triadic
#9252DC #DC9252 #52DC92
tetradic
#9252DC #DC5257 #9CDC52 #52DCD7
square
#9252DC #DC5257 #9CDC52 #52DCD7
split-complementary
#9252DC #DCD752 #57DC52
monochromatic
#551E95 #7329C8 #9252DC #B285E6 #D2B8F1

Accessibility & contrast

On white

4.71
#9252DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9252DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9252DC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9252DC#FFFFFF#000000##FFFFFF
##9252DC1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#2173D9
Tritanopia (blue-blind)
#837090
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9252dc;
/* rgb */ color: rgb(146, 82, 220);
/* oklch */ color: oklch(58.0% 0.203 301.7);
Tailwind
colors: {
  custom: {
    50: '#b786e8',
    500: '#9252dc',
    950: '#000000',
  },
}
SCSS
$custom: #9252dc;
$custom-light: #b786e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9252dc",
  "rgb": {
    "r": 146,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 267.826,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58033,
    "c": 0.2029,
    "h": 301.7
  },
  "luminance": 0.17313
}

Semantic roles & 50–950 ramp

primary
#9252DC
secondary
#C7E0AA
accent
#E93F9A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9252DC

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

Preview Lab → · Contrast checker → · Palette generator →

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