#9145CF#9145CF

#9145CF is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.3% C 0.206 H 306.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9145CF
RGBrgb(145, 69, 207)
HSLhsl(273, 59%, 54%)
HSVhsv(273, 67%, 81%)
CMYKcmyk(30%, 66.7%, 0%, 18.8%)
CIE-LABlab(45.33, 56.27, -58.72)
CIE-LCHlch(45.33, 81.33, 313.78°)
OKLaboklab(55.34% 0.1209 -0.1665)
OKLCHoklch(55.34% 0.206 306)
XYZxyz(25.0652, 14.7812, 60.5520)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9145CF #83CF45
analogous
#4C45CF #9145CF #CF45C8
triadic
#9145CF #CF9145 #45CF91
tetradic
#9145CF #CF4C45 #83CF45 #45C8CF
square
#9145CF #CF4C45 #83CF45 #45C8CF
split-complementary
#9145CF #C8CF45 #45CF4C
monochromatic
#51207A #722CAB #9145CF #AE76DC #CBA6E8

Accessibility & contrast

On white

5.31
#9145CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9145CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9145CF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9145CF#FFFFFF#000000##FFFFFF
##9145CF1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#1E6CCC
Tritanopia (blue-blind)
#866384
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9145cf;
/* rgb */ color: rgb(145, 69, 207);
/* oklch */ color: oklch(55.3% 0.206 306.0);
Tailwind
colors: {
  custom: {
    50: '#b67ede',
    500: '#9145cf',
    950: '#000000',
  },
}
SCSS
$custom: #9145cf;
$custom-light: #b67ede;
$custom-dark: #000000;
JSON
{
  "hex": "#9145cf",
  "rgb": {
    "r": 145,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 273.043,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55339,
    "c": 0.20579,
    "h": 306
  },
  "luminance": 0.14781
}

Semantic roles & 50–950 ramp

primary
#9145CF
secondary
#B5D59B
accent
#E2468C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9145CF

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

Preview Lab → · Contrast checker → · Palette generator →

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