#9252DF#9252DF

#9252DF is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.2% C 0.206 H 301.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9252DF
RGBrgb(146, 82, 223)
HSLhsl(267, 69%, 60%)
HSVhsv(267, 63%, 87%)
CMYKcmyk(34.5%, 63.2%, 0%, 12.5%)
CIE-LABlab(48.85, 53.90, -62.18)
CIE-LCHlch(48.85, 82.29, 310.92°)
OKLaboklab(58.24% 0.1064 -0.1767)
OKLCHoklch(58.24% 0.206 301.1)
XYZxyz(28.1874, 17.4731, 71.6854)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9252DF #9FDF52
analogous
#5259DF #9252DF #D852DF
triadic
#9252DF #DF9252 #52DF92
tetradic
#9252DF #DF5259 #9FDF52 #52DFD8
square
#9252DF #DF5259 #9FDF52 #52DFD8
split-complementary
#9252DF #DFD852 #59DF52
monochromatic
#561D9A #7226CE #9252DF #B386E9 #D3B9F2

Accessibility & contrast

On white

4.67
#9252DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9252DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9252DF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9252DF#FFFFFF#000000##FFFFFF
##9252DF1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#1973DC
Tritanopia (blue-blind)
#827191
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9252df;
/* rgb */ color: rgb(146, 82, 223);
/* oklch */ color: oklch(58.2% 0.206 301.1);
Tailwind
colors: {
  custom: {
    50: '#b786ea',
    500: '#9252df',
    950: '#000000',
  },
}
SCSS
$custom: #9252df;
$custom-light: #b786ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9252df",
  "rgb": {
    "r": 146,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 267.234,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5824,
    "c": 0.20626,
    "h": 301.1
  },
  "luminance": 0.17473
}

Semantic roles & 50–950 ramp

primary
#9252DF
secondary
#C9E2AB
accent
#EC3C9C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9252DF

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

Preview Lab → · Contrast checker → · Palette generator →

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