#9258DF#9258DF

#9258DF is a mid, vivid violet. Relative luminance 0.184; OKLCH L 59.1% C 0.198 H 300.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9258DF
RGBrgb(146, 88, 223)
HSLhsl(266, 68%, 61%)
HSVhsv(266, 61%, 87%)
CMYKcmyk(34.5%, 60.5%, 0%, 12.5%)
CIE-LABlab(50.00, 50.81, -60.32)
CIE-LCHlch(50.00, 78.87, 310.11°)
OKLaboklab(59.07% 0.0996 -0.1712)
OKLCHoklch(59.07% 0.198 300.2)
XYZxyz(28.6598, 18.4179, 71.8428)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9258DF #A5DF58
analogous
#5861DF #9258DF #D558DF
triadic
#9258DF #DF9258 #58DF92
tetradic
#9258DF #DF5861 #A5DF58 #58DFD5
square
#9258DF #DF5861 #A5DF58 #58DFD5
split-complementary
#9258DF #DFD558 #61DF58
monochromatic
#551E9E #7128D2 #9258DF #B48BE9 #D5BFF3

Accessibility & contrast

On white

4.48
#9258DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9258DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9258DF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9258DF#FFFFFF#000000##000000
##9258DF1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#2876DC
Tritanopia (blue-blind)
#827593
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9258df;
/* rgb */ color: rgb(146, 88, 223);
/* oklch */ color: oklch(59.1% 0.198 300.2);
Tailwind
colors: {
  custom: {
    50: '#b78aea',
    500: '#9258df',
    950: '#000000',
  },
}
SCSS
$custom: #9258df;
$custom-light: #b78aea;
$custom-dark: #000000;
JSON
{
  "hex": "#9258df",
  "rgb": {
    "r": 146,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 265.778,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59073,
    "c": 0.19809,
    "h": 300.2
  },
  "luminance": 0.18418
}

Semantic roles & 50–950 ramp

primary
#9258DF
secondary
#CDE3B0
accent
#D01680
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9258DF

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

Preview Lab → · Contrast checker → · Palette generator →

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