#9152DF#9152DF

#9152DF is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.1% C 0.206 H 300.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9152DF
RGBrgb(145, 82, 223)
HSLhsl(267, 69%, 60%)
HSVhsv(267, 63%, 87%)
CMYKcmyk(35%, 63.2%, 0%, 12.5%)
CIE-LABlab(48.74, 53.69, -62.37)
CIE-LCHlch(48.74, 82.29, 310.73°)
OKLaboklab(58.13% 0.1051 -0.1773)
OKLCHoklch(58.13% 0.206 300.7)
XYZxyz(28.0104, 17.3819, 71.6771)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9152DF #A0DF52
analogous
#5259DF #9152DF #D852DF
triadic
#9152DF #DF9152 #52DF91
tetradic
#9152DF #DF5259 #A0DF52 #52DFD8
square
#9152DF #DF5259 #A0DF52 #52DFD8
split-complementary
#9152DF #DFD852 #59DF52
monochromatic
#551D9A #7126CE #9152DF #B286E9 #D3B9F2

Accessibility & contrast

On white

4.69
#9152DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#9152DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9152DF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9152DF#FFFFFF#000000##FFFFFF
##9152DF1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#1773DC
Tritanopia (blue-blind)
#807191
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9152df;
/* rgb */ color: rgb(145, 82, 223);
/* oklch */ color: oklch(58.1% 0.206 300.7);
Tailwind
colors: {
  custom: {
    50: '#b686ea',
    500: '#9152df',
    950: '#000000',
  },
}
SCSS
$custom: #9152df;
$custom-light: #b686ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9152df",
  "rgb": {
    "r": 145,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 266.809,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58133,
    "c": 0.20609,
    "h": 300.7
  },
  "luminance": 0.17382
}

Semantic roles & 50–950 ramp

primary
#9152DF
secondary
#C9E2AB
accent
#EC3C9D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9152DF

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

Preview Lab → · Contrast checker → · Palette generator →

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