#9145CB#9145CB

#9145CB is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.1% C 0.202 H 307.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9145CB
RGBrgb(145, 69, 203)
HSLhsl(274, 56%, 53%)
HSVhsv(274, 66%, 80%)
CMYKcmyk(28.6%, 66%, 0%, 20.4%)
CIE-LABlab(45.06, 55.36, -56.85)
CIE-LCHlch(45.06, 79.35, 314.24°)
OKLaboklab(55.06% 0.1213 -0.161)
OKLCHoklch(55.06% 0.202 307)
XYZxyz(24.5824, 14.5881, 58.0091)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9145CB #7FCB45
analogous
#4E45CB #9145CB #CB45C2
triadic
#9145CB #CB9145 #45CB91
tetradic
#9145CB #CB4E45 #7FCB45 #45C2CB
square
#9145CB #CB4E45 #7FCB45 #45C2CB
split-complementary
#9145CB #C2CB45 #45CB4E
monochromatic
#502175 #712EA5 #9145CB #AD75D8 #CAA5E6

Accessibility & contrast

On white

5.36
#9145CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9145CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9145CB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9145CB#FFFFFF#000000##FFFFFF
##9145CB1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#266BC8
Tritanopia (blue-blind)
#876282
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9145cb;
/* rgb */ color: rgb(145, 69, 203);
/* oklch */ color: oklch(55.1% 0.202 307.0);
Tailwind
colors: {
  custom: {
    50: '#b67edc',
    500: '#9145cb',
    950: '#000000',
  },
}
SCSS
$custom: #9145cb;
$custom-light: #b67edc;
$custom-dark: #000000;
JSON
{
  "hex": "#9145cb",
  "rgb": {
    "r": 145,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 274.03,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55062,
    "c": 0.20159,
    "h": 307
  },
  "luminance": 0.14588
}

Semantic roles & 50–950 ramp

primary
#9145CB
secondary
#B2D399
accent
#E0488A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9145CB

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

Preview Lab → · Contrast checker → · Palette generator →

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