#9252F3#9252F3

#9252F3 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.7% C 0.228 H 297.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9252F3
RGBrgb(146, 82, 243)
HSLhsl(264, 87%, 64%)
HSVhsv(264, 66%, 95%)
CMYKcmyk(39.9%, 66.3%, 0%, 4.7%)
CIE-LABlab(50.23, 58.84, -71.20)
CIE-LCHlch(50.23, 92.37, 309.57°)
OKLaboklab(59.67% 0.1044 -0.2032)
OKLCHoklch(59.67% 0.228 297.2)
XYZxyz(31.0448, 18.6161, 86.7343)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9252F3 #B3F352
analogous
#5262F3 #9252F3 #E252F3
triadic
#9252F3 #F39252 #52F392
tetradic
#9252F3 #F35262 #B3F352 #52F3E2
square
#9252F3 #F35262 #B3F352 #52F3E2
split-complementary
#9252F3 #F3E252 #62F352
monochromatic
#530DBD #6E19EF #9252F3 #B68BF7 #DAC4FB

Accessibility & contrast

On white

4.45
#9252F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#9252F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9252F3
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9252F3#FFFFFF#000000##000000
##9252F31.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F8
Deuteranopia (green-blind)
#0076F0
Tritanopia (blue-blind)
#7A789C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9252f3;
/* rgb */ color: rgb(146, 82, 243);
/* oklch */ color: oklch(59.7% 0.228 297.2);
Tailwind
colors: {
  custom: {
    50: '#b987f8',
    500: '#9252f3',
    950: '#000000',
  },
}
SCSS
$custom: #9252f3;
$custom-light: #b987f8;
$custom-dark: #000000;
JSON
{
  "hex": "#9252f3",
  "rgb": {
    "r": 146,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 263.851,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59674,
    "c": 0.22844,
    "h": 297.2
  },
  "luminance": 0.18617
}

Semantic roles & 50–950 ramp

primary
#9252F3
secondary
#D6EDB4
accent
#E4028A
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120B17
muted
#817C85

Preview Lab

Preview with #9252F3

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

Preview Lab → · Contrast checker → · Palette generator →

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