#9245DD#9245DD

#9245DD is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.5% C 0.221 H 303.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9245DD
RGBrgb(146, 69, 221)
HSLhsl(270, 69%, 57%)
HSVhsv(270, 69%, 87%)
CMYKcmyk(33.9%, 68.8%, 0%, 13.3%)
CIE-LABlab(46.43, 59.72, -64.96)
CIE-LCHlch(46.43, 88.24, 312.59°)
OKLaboklab(56.46% 0.1205 -0.1848)
OKLCHoklch(56.46% 0.221 303.1)
XYZxyz(27.0303, 15.5877, 69.9773)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9245DD #90DD45
analogous
#4645DD #9245DD #DD45DC
triadic
#9245DD #DD9245 #45DD92
tetradic
#9245DD #DD4645 #90DD45 #45DCDD
square
#9245DD #DD4645 #90DD45 #45DCDD
split-complementary
#9245DD #DCDD45 #45DD46
monochromatic
#551A8E #7323C1 #9245DD #B079E6 #CFACF0

Accessibility & contrast

On white

5.10
#9245DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9245DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9245DD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9245DD#FFFFFF#000000##FFFFFF
##9245DD1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE1
Deuteranopia (green-blind)
#006EDA
Tritanopia (blue-blind)
#83688C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9245dd;
/* rgb */ color: rgb(146, 69, 221);
/* oklch */ color: oklch(56.5% 0.221 303.1);
Tailwind
colors: {
  custom: {
    50: '#b77ee8',
    500: '#9245dd',
    950: '#000000',
  },
}
SCSS
$custom: #9245dd;
$custom-light: #b77ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#9245dd",
  "rgb": {
    "r": 146,
    "g": 69,
    "b": 221
  },
  "hsl": {
    "h": 270.395,
    "s": 69.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56457,
    "c": 0.22063,
    "h": 303.1
  },
  "luminance": 0.15588
}

Semantic roles & 50–950 ramp

primary
#9245DD
secondary
#BEDEA0
accent
#EC3C93
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9245DD

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

Preview Lab → · Contrast checker → · Palette generator →

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