#9258F5#9258F5

#9258F5 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.6% C 0.223 H 296.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9258F5
RGBrgb(146, 88, 245)
HSLhsl(262, 89%, 65%)
HSVhsv(262, 64%, 96%)
CMYKcmyk(40.4%, 64.1%, 0%, 3.9%)
CIE-LABlab(51.48, 56.34, -70.30)
CIE-LCHlch(51.48, 90.09, 308.71°)
OKLaboklab(60.61% 0.098 -0.2006)
OKLCHoklch(60.61% 0.223 296)
XYZxyz(31.8209, 19.6824, 88.4910)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9258F5 #BBF558
analogous
#586CF5 #9258F5 #E158F5
triadic
#9258F5 #F59258 #58F592
tetradic
#9258F5 #F5586C #BBF558 #58F5E1
square
#9258F5 #F5586C #BBF558 #58F5E1
split-complementary
#9258F5 #F5E158 #6CF558
monochromatic
#510CC7 #6C1EF2 #9258F5 #B892F8 #DDCBFC

Accessibility & contrast

On white

4.25
#9258F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#9258F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9258F5
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9258F5#FFFFFF#000000##000000
##9258F51.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFA
Deuteranopia (green-blind)
#0078F2
Tritanopia (blue-blind)
#797C9F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9258f5;
/* rgb */ color: rgb(146, 88, 245);
/* oklch */ color: oklch(60.6% 0.223 296.0);
Tailwind
colors: {
  custom: {
    50: '#b88af9',
    500: '#9258f5',
    950: '#000000',
  },
}
SCSS
$custom: #9258f5;
$custom-light: #b88af9;
$custom-dark: #000000;
JSON
{
  "hex": "#9258f5",
  "rgb": {
    "r": 146,
    "g": 88,
    "b": 245
  },
  "hsl": {
    "h": 262.166,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60612,
    "c": 0.22325,
    "h": 296
  },
  "luminance": 0.19683
}

Semantic roles & 50–950 ramp

primary
#9258F5
secondary
#DBEFBA
accent
#E50091
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #9258F5

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

Preview Lab → · Contrast checker → · Palette generator →

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