#9745DE#9745DE

#9745DE is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.1% C 0.223 H 304.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9745DE
RGBrgb(151, 69, 222)
HSLhsl(272, 70%, 57%)
HSVhsv(272, 69%, 87%)
CMYKcmyk(32%, 68.9%, 0%, 12.9%)
CIE-LABlab(47.12, 60.92, -64.38)
CIE-LCHlch(47.12, 88.64, 313.42°)
OKLaboklab(57.11% 0.1271 -0.1829)
OKLCHoklch(57.11% 0.223 304.8)
XYZxyz(28.0725, 16.1096, 70.7236)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9745DE #8CDE45
analogous
#4B45DE #9745DE #DE45D8
triadic
#9745DE #DE9745 #45DE97
tetradic
#9745DE #DE4B45 #8CDE45 #45D8DE
square
#9745DE #DE4B45 #8CDE45 #45D8DE
split-complementary
#9745DE #D8DE45 #45DE4B
monochromatic
#59198F #7923C3 #9745DE #B479E7 #D1ADF0

Accessibility & contrast

On white

4.97
#9745DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#9745DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9745DE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9745DE#FFFFFF#000000##FFFFFF
##9745DE1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#0070DB
Tritanopia (blue-blind)
#8A688D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9745de;
/* rgb */ color: rgb(151, 69, 222);
/* oklch */ color: oklch(57.1% 0.223 304.8);
Tailwind
colors: {
  custom: {
    50: '#bb7fe9',
    500: '#9745de',
    950: '#000000',
  },
}
SCSS
$custom: #9745de;
$custom-light: #bb7fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#9745de",
  "rgb": {
    "r": 151,
    "g": 69,
    "b": 222
  },
  "hsl": {
    "h": 272.157,
    "s": 69.863,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57106,
    "c": 0.22273,
    "h": 304.8
  },
  "luminance": 0.16109
}

Semantic roles & 50–950 ramp

primary
#9745DE
secondary
#BDDFA0
accent
#ED3B8E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9745DE

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

Preview Lab → · Contrast checker → · Palette generator →

#9745DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva