#9245CD#9245CD

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

Color values

HEX#9245CD
RGBrgb(146, 69, 205)
HSLhsl(274, 58%, 54%)
HSVhsv(274, 66%, 80%)
CMYKcmyk(28.8%, 66.3%, 0%, 19.6%)
CIE-LABlab(45.32, 56.02, -57.58)
CIE-LCHlch(45.32, 80.34, 314.22°)
OKLaboklab(55.32% 0.1225 -0.1631)
OKLCHoklch(55.32% 0.204 306.9)
XYZxyz(24.9993, 14.7753, 59.2807)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9245CD #80CD45
analogous
#4E45CD #9245CD #CD45C4
triadic
#9245CD #CD9245 #45CD92
tetradic
#9245CD #CD4E45 #80CD45 #45C4CD
square
#9245CD #CD4E45 #80CD45 #45C4CD
split-complementary
#9245CD #C4CD45 #45CD4E
monochromatic
#522077 #732DA8 #9245CD #AE75DA #CBA5E7

Accessibility & contrast

On white

5.31
#9245CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9245CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9245CD
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9245CD#FFFFFF#000000##FFFFFF
##9245CD1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#246CCA
Tritanopia (blue-blind)
#886283
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9245cd;
/* rgb */ color: rgb(146, 69, 205);
/* oklch */ color: oklch(55.3% 0.204 306.9);
Tailwind
colors: {
  custom: {
    50: '#b67edd',
    500: '#9245cd',
    950: '#000000',
  },
}
SCSS
$custom: #9245cd;
$custom-light: #b67edd;
$custom-dark: #000000;
JSON
{
  "hex": "#9245cd",
  "rgb": {
    "r": 146,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 273.971,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55318,
    "c": 0.20396,
    "h": 306.9
  },
  "luminance": 0.14775
}

Semantic roles & 50–950 ramp

primary
#9245CD
secondary
#B3D49A
accent
#E1478A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9245CD

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

Preview Lab → · Contrast checker → · Palette generator →

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