#9252CE#9252CE

#9252CE is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.1% C 0.187 H 305.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9252CE
RGBrgb(146, 82, 206)
HSLhsl(271, 56%, 56%)
HSVhsv(271, 60%, 81%)
CMYKcmyk(29.1%, 60.2%, 0%, 19.2%)
CIE-LABlab(47.75, 49.81, -54.24)
CIE-LCHlch(47.75, 73.64, 312.56°)
OKLaboklab(57.1% 0.1073 -0.1534)
OKLCHoklch(57.1% 0.187 305)
XYZxyz(26.0095, 16.6020, 60.2148)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9252CE #8ECE52
analogous
#5452CE #9252CE #CE52CC
triadic
#9252CE #CE9252 #52CE92
tetradic
#9252CE #CE5452 #8ECE52 #52CCCE
square
#9252CE #CE5452 #8ECE52 #52CCCE
split-complementary
#9252CE #CCCE52 #52CE54
monochromatic
#542581 #7332B1 #9252CE #B082DC #CEB1E9

Accessibility & contrast

On white

4.86
#9252CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#9252CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9252CE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9252CE#FFFFFF#000000##FFFFFF
##9252CE1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1270D2
Deuteranopia (green-blind)
#3671CB
Tritanopia (blue-blind)
#876B88
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9252ce;
/* rgb */ color: rgb(146, 82, 206);
/* oklch */ color: oklch(57.1% 0.187 305.0);
Tailwind
colors: {
  custom: {
    50: '#b686de',
    500: '#9252ce',
    950: '#000000',
  },
}
SCSS
$custom: #9252ce;
$custom-light: #b686de;
$custom-dark: #000000;
JSON
{
  "hex": "#9252ce",
  "rgb": {
    "r": 146,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 270.968,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57095,
    "c": 0.18717,
    "h": 305
  },
  "luminance": 0.16602
}

Semantic roles & 50–950 ramp

primary
#9252CE
secondary
#BDD7A4
accent
#DF4991
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9252CE

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

Preview Lab → · Contrast checker → · Palette generator →

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