#9152F3#9152F3

#9152F3 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.6% C 0.228 H 296.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9152F3
RGBrgb(145, 82, 243)
HSLhsl(263, 87%, 64%)
HSVhsv(263, 66%, 95%)
CMYKcmyk(40.3%, 66.3%, 0%, 4.7%)
CIE-LABlab(50.13, 58.66, -71.38)
CIE-LCHlch(50.13, 92.39, 309.41°)
OKLaboklab(59.57% 0.103 -0.2038)
OKLCHoklch(59.57% 0.228 296.8)
XYZxyz(30.8678, 18.5248, 86.7260)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9152F3 #B4F352
analogous
#5263F3 #9152F3 #E152F3
triadic
#9152F3 #F39152 #52F391
tetradic
#9152F3 #F35263 #B4F352 #52F3E1
square
#9152F3 #F35263 #B4F352 #52F3E1
split-complementary
#9152F3 #F3E152 #63F352
monochromatic
#520DBD #6D19EF #9152F3 #B58BF7 #DAC4FB

Accessibility & contrast

On white

4.46
#9152F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#9152F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9152F3
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9152F3#FFFFFF#000000##000000
##9152F31.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F8
Deuteranopia (green-blind)
#0075F0
Tritanopia (blue-blind)
#78789C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9152f3;
/* rgb */ color: rgb(145, 82, 243);
/* oklch */ color: oklch(59.6% 0.228 296.8);
Tailwind
colors: {
  custom: {
    50: '#b887f8',
    500: '#9152f3',
    950: '#000000',
  },
}
SCSS
$custom: #9152f3;
$custom-light: #b887f8;
$custom-dark: #000000;
JSON
{
  "hex": "#9152f3",
  "rgb": {
    "r": 145,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 263.478,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59572,
    "c": 0.22834,
    "h": 296.8
  },
  "luminance": 0.18525
}

Semantic roles & 50–950 ramp

primary
#9152F3
secondary
#D7EDB4
accent
#E4028B
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120B17
muted
#817C85

Preview Lab

Preview with #9152F3

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

Preview Lab → · Contrast checker → · Palette generator →

#9152F3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva