#9145D2#9145D2

#9145D2 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.5% C 0.209 H 305.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9145D2
RGBrgb(145, 69, 210)
HSLhsl(272, 61%, 55%)
HSVhsv(272, 67%, 82%)
CMYKcmyk(31%, 67.1%, 0%, 17.6%)
CIE-LABlab(45.54, 56.96, -60.12)
CIE-LCHlch(45.54, 82.82, 313.46°)
OKLaboklab(55.55% 0.1206 -0.1706)
OKLCHoklch(55.55% 0.209 305.3)
XYZxyz(25.4355, 14.9293, 62.5019)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9145D2 #86D245
analogous
#4A45D2 #9145D2 #D245CD
triadic
#9145D2 #D29145 #45D291
tetradic
#9145D2 #D24A45 #86D245 #45CDD2
square
#9145D2 #D24A45 #86D245 #45CDD2
split-complementary
#9145D2 #CDD245 #45D24A
monochromatic
#521F7E #722AAF #9145D2 #AE76DE #CBA8EA

Accessibility & contrast

On white

5.27
#9145D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9145D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9145D2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9145D2#FFFFFF#000000##FFFFFF
##9145D21.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#176CCF
Tritanopia (blue-blind)
#856486
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9145d2;
/* rgb */ color: rgb(145, 69, 210);
/* oklch */ color: oklch(55.5% 0.209 305.3);
Tailwind
colors: {
  custom: {
    50: '#b67ee1',
    500: '#9145d2',
    950: '#000000',
  },
}
SCSS
$custom: #9145d2;
$custom-light: #b67ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#9145d2",
  "rgb": {
    "r": 145,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 272.34,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5555,
    "c": 0.20893,
    "h": 305.3
  },
  "luminance": 0.14929
}

Semantic roles & 50–950 ramp

primary
#9145D2
secondary
#B7D79C
accent
#E4448E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9145D2

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

Preview Lab → · Contrast checker → · Palette generator →

#9145D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva