#9145CA#9145CA

#9145CA is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.0% C 0.201 H 307.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9145CA
RGBrgb(145, 69, 202)
HSLhsl(274, 56%, 53%)
HSVhsv(274, 66%, 79%)
CMYKcmyk(28.2%, 65.8%, 0%, 20.8%)
CIE-LABlab(45.00, 55.13, -56.38)
CIE-LCHlch(45.00, 78.85, 314.36°)
OKLaboklab(54.99% 0.1214 -0.1596)
OKLCHoklch(54.99% 0.201 307.3)
XYZxyz(24.4636, 14.5406, 57.3835)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9145CA #7ECA45
analogous
#4E45CA #9145CA #CA45C0
triadic
#9145CA #CA9145 #45CA91
tetradic
#9145CA #CA4E45 #7ECA45 #45C0CA
square
#9145CA #CA4E45 #7ECA45 #45C0CA
split-complementary
#9145CA #C0CA45 #45CA4E
monochromatic
#502174 #712FA3 #9145CA #AD75D8 #C9A4E5

Accessibility & contrast

On white

5.37
#9145CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9145CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9145CA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9145CA#FFFFFF#000000##FFFFFF
##9145CA1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#276BC7
Tritanopia (blue-blind)
#886182
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9145ca;
/* rgb */ color: rgb(145, 69, 202);
/* oklch */ color: oklch(55.0% 0.201 307.3);
Tailwind
colors: {
  custom: {
    50: '#b57edb',
    500: '#9145ca',
    950: '#000000',
  },
}
SCSS
$custom: #9145ca;
$custom-light: #b57edb;
$custom-dark: #000000;
JSON
{
  "hex": "#9145ca",
  "rgb": {
    "r": 145,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 274.286,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54993,
    "c": 0.20055,
    "h": 307.3
  },
  "luminance": 0.1454
}

Semantic roles & 50–950 ramp

primary
#9145CA
secondary
#B1D299
accent
#DF4989
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9145CA

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

Preview Lab → · Contrast checker → · Palette generator →

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