#9258CF#9258CF

#9258CF is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.0% C 0.180 H 303.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9258CF
RGBrgb(146, 88, 207)
HSLhsl(269, 55%, 58%)
HSVhsv(269, 57%, 81%)
CMYKcmyk(29.5%, 57.5%, 0%, 18.8%)
CIE-LABlab(49.00, 46.89, -52.82)
CIE-LCHlch(49.00, 70.63, 311.60°)
OKLaboklab(58.03% 0.0999 -0.1492)
OKLCHoklch(58.03% 0.18 303.8)
XYZxyz(26.6038, 17.5955, 61.0141)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9258CF #95CF58
analogous
#5859CF #9258CF #CE58CF
triadic
#9258CF #CF9258 #58CF92
tetradic
#9258CF #CF5859 #95CF58 #58CFCE
square
#9258CF #CF5859 #95CF58 #58CFCE
split-complementary
#9258CF #CFCE58 #59CF58
monochromatic
#552786 #7334B6 #9258CF #B188DD #D0B7EA

Accessibility & contrast

On white

4.65
#9258CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#9258CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9258CF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9258CF#FFFFFF#000000##FFFFFF
##9258CF1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2573D3
Deuteranopia (green-blind)
#3D74CC
Tritanopia (blue-blind)
#876F8B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9258cf;
/* rgb */ color: rgb(146, 88, 207);
/* oklch */ color: oklch(58.0% 0.180 303.8);
Tailwind
colors: {
  custom: {
    50: '#b589de',
    500: '#9258cf',
    950: '#000000',
  },
}
SCSS
$custom: #9258cf;
$custom-light: #b589de;
$custom-dark: #000000;
JSON
{
  "hex": "#9258cf",
  "rgb": {
    "r": 146,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 269.244,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58026,
    "c": 0.17954,
    "h": 303.8
  },
  "luminance": 0.17595
}

Semantic roles & 50–950 ramp

primary
#9258CF
secondary
#C2D9AA
accent
#DF4996
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9258CF

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

Preview Lab → · Contrast checker → · Palette generator →

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