#9160F2#9160F2

#9160F2 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.4% C 0.209 H 295.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9160F2
RGBrgb(145, 96, 242)
HSLhsl(260, 85%, 66%)
HSVhsv(260, 60%, 95%)
CMYKcmyk(40.1%, 60.3%, 0%, 5.1%)
CIE-LABlab(52.73, 51.18, -66.61)
CIE-LCHlch(52.73, 84.00, 307.54°)
OKLaboklab(61.43% 0.0883 -0.1898)
OKLCHoklch(61.43% 0.209 295)
XYZxyz(31.8827, 20.7956, 86.3213)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9160F2 #C1F260
analogous
#6078F2 #9160F2 #DA60F2
triadic
#9160F2 #F29160 #60F291
tetradic
#9160F2 #F26078 #C1F260 #60F2DA
square
#9160F2 #F26078 #C1F260 #60F2DA
split-complementary
#9160F2 #F2DA60 #78F260
monochromatic
#4E10C7 #6A27ED #9160F2 #B899F7 #DFD1FB

Accessibility & contrast

On white

4.07
#9160F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#9160F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9160F2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9160F2#FFFFFF#000000##000000
##9160F21.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#077CEF
Tritanopia (blue-blind)
#7881A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9160f2;
/* rgb */ color: rgb(145, 96, 242);
/* oklch */ color: oklch(61.4% 0.209 295.0);
Tailwind
colors: {
  custom: {
    50: '#b78ff7',
    500: '#9160f2',
    950: '#000000',
  },
}
SCSS
$custom: #9160f2;
$custom-light: #b78ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#9160f2",
  "rgb": {
    "r": 145,
    "g": 96,
    "b": 242
  },
  "hsl": {
    "h": 260.137,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61429,
    "c": 0.20932,
    "h": 295
  },
  "luminance": 0.20796
}

Semantic roles & 50–950 ramp

primary
#9160F2
secondary
#DFEFBF
accent
#E10497
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120D17
muted
#817D85

Preview Lab

Preview with #9160F2

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

Preview Lab → · Contrast checker → · Palette generator →

#9160F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva