#9745CE#9745CE

#9745CE is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.0% C 0.206 H 308.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9745CE
RGBrgb(151, 69, 206)
HSLhsl(276, 58%, 54%)
HSVhsv(276, 67%, 81%)
CMYKcmyk(26.7%, 66.5%, 0%, 19.2%)
CIE-LABlab(46.03, 57.32, -56.98)
CIE-LCHlch(46.03, 80.82, 315.17°)
OKLaboklab(55.98% 0.1289 -0.1612)
OKLCHoklch(55.98% 0.206 308.6)
XYZxyz(26.0289, 15.2922, 59.9610)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9745CE #7CCE45
analogous
#5345CE #9745CE #CE45C1
triadic
#9745CE #CE9745 #45CE97
tetradic
#9745CE #CE5345 #7CCE45 #45C1CE
square
#9745CE #CE5345 #7CCE45 #45C1CE
split-complementary
#9745CE #C1CE45 #45CE53
monochromatic
#552079 #772DA9 #9745CE #B275DB #CDA6E8

Accessibility & contrast

On white

5.17
#9745CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#9745CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9745CE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9745CE#FFFFFF#000000##FFFFFF
##9745CE1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#2B6ECB
Tritanopia (blue-blind)
#8F6284
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9745ce;
/* rgb */ color: rgb(151, 69, 206);
/* oklch */ color: oklch(56.0% 0.206 308.6);
Tailwind
colors: {
  custom: {
    50: '#ba7ede',
    500: '#9745ce',
    950: '#000000',
  },
}
SCSS
$custom: #9745ce;
$custom-light: #ba7ede;
$custom-dark: #000000;
JSON
{
  "hex": "#9745ce",
  "rgb": {
    "r": 151,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 275.912,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55984,
    "c": 0.20638,
    "h": 308.6
  },
  "luminance": 0.15292
}

Semantic roles & 50–950 ramp

primary
#9745CE
secondary
#B2D59A
accent
#E24685
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9745CE

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

Preview Lab → · Contrast checker → · Palette generator →

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