#9734D2#9734D2

#9734D2 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.5% C 0.230 H 309.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9734D2
RGBrgb(151, 52, 210)
HSLhsl(278, 64%, 51%)
HSVhsv(278, 75%, 82%)
CMYKcmyk(28.1%, 75.2%, 0%, 17.6%)
CIE-LABlab(43.78, 65.30, -62.92)
CIE-LCHlch(43.78, 90.68, 316.06°)
OKLaboklab(54.47% 0.1452 -0.1785)
OKLCHoklch(54.47% 0.23 309.1)
XYZxyz(25.6210, 13.6889, 62.2528)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9734D2 #6FD234
analogous
#4834D2 #9734D2 #D234BE
triadic
#9734D2 #D29734 #34D297
tetradic
#9734D2 #D24834 #6FD234 #34BED2
square
#9734D2 #D24834 #6FD234 #34BED2
split-complementary
#9734D2 #BED234 #34D248
monochromatic
#511972 #7524A4 #9734D2 #B166DD #CA98E8

Accessibility & contrast

On white

5.62
#9734D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9734D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9734D2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9734D2#FFFFFF#000000##FFFFFF
##9734D21.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#0069CF
Tritanopia (blue-blind)
#8E5A81
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9734d2;
/* rgb */ color: rgb(151, 52, 210);
/* oklch */ color: oklch(54.5% 0.230 309.1);
Tailwind
colors: {
  custom: {
    50: '#bb76e1',
    500: '#9734d2',
    950: '#000000',
  },
}
SCSS
$custom: #9734d2;
$custom-light: #bb76e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9734d2",
  "rgb": {
    "r": 151,
    "g": 52,
    "b": 210
  },
  "hsl": {
    "h": 277.595,
    "s": 63.71,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54473,
    "c": 0.2301,
    "h": 309.1
  },
  "luminance": 0.13688
}

Semantic roles & 50–950 ramp

primary
#9734D2
secondary
#A8D48E
accent
#E7417F
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9734D2

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

Preview Lab → · Contrast checker → · Palette generator →

#9734D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva