#9254DF#9254DF

#9254DF is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.5% C 0.204 H 300.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9254DF
RGBrgb(146, 84, 223)
HSLhsl(267, 68%, 60%)
HSVhsv(267, 62%, 87%)
CMYKcmyk(34.5%, 62.3%, 0%, 12.5%)
CIE-LABlab(49.23, 52.88, -61.57)
CIE-LCHlch(49.23, 81.16, 310.66°)
OKLaboklab(58.51% 0.1042 -0.1749)
OKLCHoklch(58.51% 0.204 300.8)
XYZxyz(28.3405, 17.7792, 71.7364)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9254DF #A1DF54
analogous
#545BDF #9254DF #D854DF
triadic
#9254DF #DF9254 #54DF92
tetradic
#9254DF #DF545B #A1DF54 #54DFD8
square
#9254DF #DF545B #A1DF54 #54DFD8
split-complementary
#9254DF #DFD854 #5BDF54
monochromatic
#551D9C #7227CF #9254DF #B388E9 #D4BBF2

Accessibility & contrast

On white

4.61
#9254DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9254DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9254DF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9254DF#FFFFFF#000000##FFFFFF
##9254DF1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#1F74DC
Tritanopia (blue-blind)
#827292
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9254df;
/* rgb */ color: rgb(146, 84, 223);
/* oklch */ color: oklch(58.5% 0.204 300.8);
Tailwind
colors: {
  custom: {
    50: '#b787ea',
    500: '#9254df',
    950: '#000000',
  },
}
SCSS
$custom: #9254df;
$custom-light: #b787ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9254df",
  "rgb": {
    "r": 146,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 266.763,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58513,
    "c": 0.20357,
    "h": 300.8
  },
  "luminance": 0.17779
}

Semantic roles & 50–950 ramp

primary
#9254DF
secondary
#CAE2AD
accent
#D0157D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9254DF

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

Preview Lab → · Contrast checker → · Palette generator →

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