#9245C8#9245C8

#9245C8 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 55.0% C 0.199 H 308.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9245C8
RGBrgb(146, 69, 200)
HSLhsl(275, 54%, 53%)
HSVhsv(275, 66%, 78%)
CMYKcmyk(27%, 65.5%, 0%, 21.6%)
CIE-LABlab(44.99, 54.89, -55.22)
CIE-LCHlch(44.99, 77.86, 314.83°)
OKLaboklab(54.97% 0.1229 -0.1562)
OKLCHoklch(54.97% 0.199 308.2)
XYZxyz(24.4054, 14.5377, 56.1528)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9245C8 #7BC845
analogous
#5045C8 #9245C8 #C845BD
triadic
#9245C8 #C89245 #45C892
tetradic
#9245C8 #C85045 #7BC845 #45BDC8
square
#9245C8 #C85045 #7BC845 #45BDC8
split-complementary
#9245C8 #BDC845 #45C850
monochromatic
#502171 #722FA0 #9245C8 #AE74D6 #C9A3E4

Accessibility & contrast

On white

5.37
#9245C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9245C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9245C8
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9245C8#FFFFFF#000000##FFFFFF
##9245C81.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)
#0067CC
Deuteranopia (green-blind)
#2C6BC5
Tritanopia (blue-blind)
#8A6081
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9245c8;
/* rgb */ color: rgb(146, 69, 200);
/* oklch */ color: oklch(55.0% 0.199 308.2);
Tailwind
colors: {
  custom: {
    50: '#b67ed9',
    500: '#9245c8',
    950: '#000000',
  },
}
SCSS
$custom: #9245c8;
$custom-light: #b67ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#9245c8",
  "rgb": {
    "r": 146,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 275.267,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54975,
    "c": 0.19873,
    "h": 308.2
  },
  "luminance": 0.14537
}

Semantic roles & 50–950 ramp

primary
#9245C8
secondary
#AFD198
accent
#DE4A87
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9245C8

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

Preview Lab → · Contrast checker → · Palette generator →

#9245C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva