#9245CF#9245CF

#9245CF is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.5% C 0.206 H 306.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9245CF
RGBrgb(146, 69, 207)
HSLhsl(273, 59%, 54%)
HSVhsv(273, 67%, 81%)
CMYKcmyk(29.5%, 66.7%, 0%, 18.8%)
CIE-LABlab(45.46, 56.48, -58.51)
CIE-LCHlch(45.46, 81.33, 313.99°)
OKLaboklab(55.46% 0.1223 -0.1659)
OKLCHoklch(55.46% 0.206 306.4)
XYZxyz(25.2422, 14.8725, 60.5603)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9245CF #82CF45
analogous
#4D45CF #9245CF #CF45C7
triadic
#9245CF #CF9245 #45CF92
tetradic
#9245CF #CF4D45 #82CF45 #45C7CF
square
#9245CF #CF4D45 #82CF45 #45C7CF
split-complementary
#9245CF #C7CF45 #45CF4D
monochromatic
#52207A #732CAB #9245CF #AF76DC #CBA6E8

Accessibility & contrast

On white

5.28
#9245CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9245CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9245CF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9245CF#FFFFFF#000000##FFFFFF
##9245CF1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#206CCC
Tritanopia (blue-blind)
#886384
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9245cf;
/* rgb */ color: rgb(146, 69, 207);
/* oklch */ color: oklch(55.5% 0.206 306.4);
Tailwind
colors: {
  custom: {
    50: '#b67ede',
    500: '#9245cf',
    950: '#000000',
  },
}
SCSS
$custom: #9245cf;
$custom-light: #b67ede;
$custom-dark: #000000;
JSON
{
  "hex": "#9245cf",
  "rgb": {
    "r": 146,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 273.478,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55457,
    "c": 0.20605,
    "h": 306.4
  },
  "luminance": 0.14872
}

Semantic roles & 50–950 ramp

primary
#9245CF
secondary
#B4D59B
accent
#E2468B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9245CF

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

Preview Lab → · Contrast checker → · Palette generator →

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