#9B5EF0#9B5EF0

#9B5EF0 is a mid, highly saturated violet. Relative luminance 0.213; OKLCH L 62.0% C 0.211 H 299.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9B5EF0
RGBrgb(155, 94, 240)
HSLhsl(265, 83%, 65%)
HSVhsv(265, 61%, 94%)
CMYKcmyk(35.4%, 60.8%, 0%, 5.9%)
CIE-LABlab(53.24, 53.85, -64.62)
CIE-LCHlch(53.24, 84.11, 309.81°)
OKLaboklab(62% 0.1036 -0.1836)
OKLCHoklch(62% 0.211 299.4)
XYZxyz(33.2446, 21.2649, 84.7742)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5EF0 #B3F05E
analogous
#5E6AF0 #9B5EF0 #E45EF0
triadic
#9B5EF0 #F09B5E #5EF09B
tetradic
#9B5EF0 #F05E6A #B3F05E #5EF0E4
square
#9B5EF0 #F05E6A #B3F05E #5EF0E4
split-complementary
#9B5EF0 #F0E45E #6AF05E
monochromatic
#5B12C2 #7826EB #9B5EF0 #BE96F5 #E1CEFA

Accessibility & contrast

On white

4.00
#9B5EF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#9B5EF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5EF0
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5EF0#FFFFFF#000000##000000
##9B5EF01.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF5
Deuteranopia (green-blind)
#257EED
Tritanopia (blue-blind)
#887E9E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9b5ef0;
/* rgb */ color: rgb(155, 94, 240);
/* oklch */ color: oklch(62.0% 0.211 299.4);
Tailwind
colors: {
  custom: {
    50: '#be8ef6',
    500: '#9b5ef0',
    950: '#000000',
  },
}
SCSS
$custom: #9b5ef0;
$custom-light: #be8ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5ef0",
  "rgb": {
    "r": 155,
    "g": 94,
    "b": 240
  },
  "hsl": {
    "h": 265.068,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61999,
    "c": 0.21079,
    "h": 299.4
  },
  "luminance": 0.21265
}

Semantic roles & 50–950 ramp

primary
#9B5EF0
secondary
#D9EDBC
accent
#DF0685
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B5EF0

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

Preview Lab → · Contrast checker → · Palette generator →

#9B5EF0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva