#9F45F0#9F45F0

#9F45F0 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.3% C 0.242 H 303.8°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#9F45F0
RGBrgb(159, 69, 240)
HSLhsl(272, 85%, 61%)
HSVhsv(272, 71%, 94%)
CMYKcmyk(33.8%, 71.3%, 0%, 5.9%)
CIE-LABlab(49.40, 66.50, -70.81)
CIE-LCHlch(49.40, 97.14, 313.20°)
OKLaboklab(59.34% 0.1348 -0.2016)
OKLCHoklch(59.34% 0.243 303.8)
XYZxyz(32.1507, 17.9185, 84.1860)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F45F0 #96F045
analogous
#4945F0 #9F45F0 #F045EC
triadic
#9F45F0 #F09F45 #45F09F
tetradic
#9F45F0 #F04945 #96F045 #45ECF0
square
#9F45F0 #F04945 #96F045 #45ECF0
split-complementary
#9F45F0 #ECF045 #45F049
monochromatic
#610EAD #8112E5 #9F45F0 #BC7EF5 #D9B6F9

Accessibility & contrast

On white

4.58
#9F45F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9F45F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F45F0
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F45F0#FFFFFF#000000##000000
##9F45F01.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073F5
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#8F6E97
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9f45f0;
/* rgb */ color: rgb(159, 69, 240);
/* oklch */ color: oklch(59.3% 0.242 303.8);
Tailwind
colors: {
  custom: {
    50: '#c180f6',
    500: '#9f45f0',
    950: '#000000',
  },
}
SCSS
$custom: #9f45f0;
$custom-light: #c180f6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f45f0",
  "rgb": {
    "r": 159,
    "g": 69,
    "b": 240
  },
  "hsl": {
    "h": 271.579,
    "s": 85.075,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59344,
    "c": 0.2425,
    "h": 303.8
  },
  "luminance": 0.17918
}

Semantic roles & 50–950 ramp

primary
#9F45F0
secondary
#C7E9A8
accent
#E2046D
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #9F45F0

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

Preview Lab → · Contrast checker → · Palette generator →

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