#9186F2#9186F2

#9186F2 is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.7% C 0.156 H 286.1°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9186F2
RGBrgb(145, 134, 242)
HSLhsl(246, 81%, 74%)
HSVhsv(246, 45%, 95%)
CMYKcmyk(40.1%, 44.6%, 0%, 5.1%)
CIE-LABlab(61.20, 29.75, -53.03)
CIE-LCHlch(61.20, 60.80, 299.29°)
OKLaboklab(67.73% 0.0432 -0.1498)
OKLCHoklch(67.73% 0.156 286.1)
XYZxyz(36.2246, 29.4794, 87.7686)
Luminance0.2948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9186F2 #E7F286
analogous
#86B1F2 #9186F2 #C786F2
triadic
#9186F2 #F29186 #86F291
tetradic
#9186F2 #F286B1 #E7F286 #86F2C7
square
#9186F2 #F286B1 #E7F286 #86F2C7
split-complementary
#9186F2 #F2C786 #B1F286
monochromatic
#2D19E5 #5F4FEC #9186F2 #C3BDF8 #E6E3FC

Accessibility & contrast

On white

3.05
#9186F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#9186F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9186F2
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9186F2#FFFFFF#000000##000000
##9186F21.003.056.906.90
#FFFFFF3.051.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E97F6
Deuteranopia (green-blind)
#5C91EF
Tritanopia (blue-blind)
#759CB0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9186f2;
/* rgb */ color: rgb(145, 134, 242);
/* oklch */ color: oklch(67.7% 0.156 286.1);
Tailwind
colors: {
  custom: {
    50: '#b5a9f7',
    500: '#9186f2',
    950: '#000000',
  },
}
SCSS
$custom: #9186f2;
$custom-light: #b5a9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9186f2",
  "rgb": {
    "r": 145,
    "g": 134,
    "b": 242
  },
  "hsl": {
    "h": 246.111,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.6773,
    "c": 0.15594,
    "h": 286.1
  },
  "luminance": 0.29481
}

Semantic roles & 50–950 ramp

primary
#9186F2
secondary
#F1F4D7
accent
#DD09C7
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #9186F2

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

Preview Lab → · Contrast checker → · Palette generator →

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