#732FCA#732FCA

#732FCA is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.0% C 0.220 H 297.4°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#732FCA
RGBrgb(115, 47, 202)
HSLhsl(266, 62%, 49%)
HSVhsv(266, 77%, 79%)
CMYKcmyk(43.1%, 76.7%, 0%, 20.8%)
CIE-LABlab(37.74, 59.41, -68.35)
CIE-LCHlch(37.74, 90.56, 311.00°)
OKLaboklab(49.02% 0.1013 -0.1957)
OKLCHoklch(49.02% 0.22 297.4)
XYZxyz(18.7446, 9.9418, 56.7970)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732FCA #86CA2F
analogous
#2F38CA #732FCA #C12FCA
triadic
#732FCA #CA732F #2FCA73
tetradic
#732FCA #CA2F38 #86CA2F #2FCAC1
square
#732FCA #CA2F38 #86CA2F #2FCAC1
split-complementary
#732FCA #CAC12F #38CA2F
monochromatic
#3A1867 #572398 #732FCA #935DD9 #B48FE5

Accessibility & contrast

On white

7.03
#732FCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#732FCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732FCA
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732FCA#FFFFFF#000000##FFFFFF
##732FCA1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0057C7
Tritanopia (blue-blind)
#5C597C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #732fca;
/* rgb */ color: rgb(115, 47, 202);
/* oklch */ color: oklch(49.0% 0.220 297.4);
Tailwind
colors: {
  custom: {
    50: '#a36fdb',
    500: '#732fca',
    950: '#000000',
  },
}
SCSS
$custom: #732fca;
$custom-light: #a36fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#732fca",
  "rgb": {
    "r": 115,
    "g": 47,
    "b": 202
  },
  "hsl": {
    "h": 266.323,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49021,
    "c": 0.22032,
    "h": 297.4
  },
  "luminance": 0.09942
}

Semantic roles & 50–950 ramp

primary
#732FCA
secondary
#AFCF86
accent
#E5429E
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #732FCA

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

Preview Lab → · Contrast checker → · Palette generator →

#732FCA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva