#9745F3#9745F3

#9745F3 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.7% C 0.244 H 300.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9745F3
RGBrgb(151, 69, 243)
HSLhsl(268, 88%, 61%)
HSVhsv(268, 72%, 95%)
CMYKcmyk(37.9%, 71.6%, 0%, 4.7%)
CIE-LABlab(48.64, 65.78, -73.76)
CIE-LCHlch(48.64, 98.83, 311.72°)
OKLaboklab(58.67% 0.1235 -0.2105)
OKLCHoklch(58.67% 0.244 300.4)
XYZxyz(31.0643, 17.3063, 86.4805)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9745F3 #A1F345
analogous
#454AF3 #9745F3 #EE45F3
triadic
#9745F3 #F39745 #45F397
tetradic
#9745F3 #F3454A #A1F345 #45F3EE
square
#9745F3 #F3454A #A1F345 #45F3EE
split-complementary
#9745F3 #F3EE45 #4AF345
monochromatic
#5A0BB2 #770FEC #9745F3 #B77EF7 #D7B8FA

Accessibility & contrast

On white

4.71
#9745F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9745F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9745F3
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9745F3#FFFFFF#000000##FFFFFF
##9745F31.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F8
Deuteranopia (green-blind)
#0072F0
Tritanopia (blue-blind)
#827098
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9745f3;
/* rgb */ color: rgb(151, 69, 243);
/* oklch */ color: oklch(58.7% 0.244 300.4);
Tailwind
colors: {
  custom: {
    50: '#bc80f8',
    500: '#9745f3',
    950: '#000000',
  },
}
SCSS
$custom: #9745f3;
$custom-light: #bc80f8;
$custom-dark: #000000;
JSON
{
  "hex": "#9745f3",
  "rgb": {
    "r": 151,
    "g": 69,
    "b": 243
  },
  "hsl": {
    "h": 268.276,
    "s": 87.879,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58668,
    "c": 0.24409,
    "h": 300.4
  },
  "luminance": 0.17307
}

Semantic roles & 50–950 ramp

primary
#9745F3
secondary
#CCEBA9
accent
#E40179
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #9745F3

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

Preview Lab → · Contrast checker → · Palette generator →

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