#9742F0#9742F0

#9742F0 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 58.1% C 0.244 H 301.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9742F0
RGBrgb(151, 66, 240)
HSLhsl(269, 85%, 60%)
HSVhsv(269, 73%, 94%)
CMYKcmyk(37.1%, 72.5%, 0%, 5.9%)
CIE-LABlab(47.96, 66.36, -73.18)
CIE-LCHlch(47.96, 98.79, 312.20°)
OKLaboklab(58.12% 0.1268 -0.2088)
OKLCHoklch(58.12% 0.244 301.3)
XYZxyz(30.4351, 16.7668, 84.0541)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9742F0 #9BF042
analogous
#4244F0 #9742F0 #EE42F0
triadic
#9742F0 #F09742 #42F097
tetradic
#9742F0 #F04244 #9BF042 #42F0EE
square
#9742F0 #F04244 #9BF042 #42F0EE
split-complementary
#9742F0 #F0EE42 #44F042
monochromatic
#5A0EAA #7812E3 #9742F0 #B67BF4 #D5B3F9

Accessibility & contrast

On white

4.82
#9742F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#9742F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9742F0
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9742F0#FFFFFF#000000##FFFFFF
##9742F01.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F5
Deuteranopia (green-blind)
#0071ED
Tritanopia (blue-blind)
#836E96
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9742f0;
/* rgb */ color: rgb(151, 66, 240);
/* oklch */ color: oklch(58.1% 0.244 301.3);
Tailwind
colors: {
  custom: {
    50: '#bc7ef6',
    500: '#9742f0',
    950: '#000000',
  },
}
SCSS
$custom: #9742f0;
$custom-light: #bc7ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#9742f0",
  "rgb": {
    "r": 151,
    "g": 66,
    "b": 240
  },
  "hsl": {
    "h": 269.31,
    "s": 85.294,
    "l": 60
  },
  "oklch": {
    "l": 0.58117,
    "c": 0.24429,
    "h": 301.3
  },
  "luminance": 0.16767
}

Semantic roles & 50–950 ramp

primary
#9742F0
secondary
#C8E8A5
accent
#FC2C96
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130A17
muted
#827C85

Preview Lab

Preview with #9742F0

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

Preview Lab → · Contrast checker → · Palette generator →

#9742F0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva