#7304FF#7304FF

#7304FF is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 51.8% C 0.292 H 289.6°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#7304FF
RGBrgb(115, 4, 255)
HSLhsl(267, 100%, 51%)
HSVhsv(267, 98%, 100%)
CMYKcmyk(54.9%, 98.4%, 0%, 0%)
CIE-LABlab(39.50, 81.82, -95.68)
CIE-LCHlch(39.50, 125.89, 310.54°)
OKLaboklab(51.76% 0.0979 -0.2752)
OKLCHoklch(51.76% 0.292 289.6)
XYZxyz(25.1584, 10.9504, 95.3763)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7304FF #90FF04
analogous
#0412FF #7304FF #F104FF
triadic
#7304FF #FF7304 #04FF73
tetradic
#7304FF #FF0412 #90FF04 #04FFF1
square
#7304FF #FF0412 #90FF04 #04FFF1
split-complementary
#7304FF #FFF104 #12FF04
monochromatic
#3C0089 #5700C6 #7304FF #9541FF #B77EFF

Accessibility & contrast

On white

6.58
#7304FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7304FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7304FF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7304FF#FFFFFF#000000##FFFFFF
##7304FF1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061FF
Deuteranopia (green-blind)
#0057FB
Tritanopia (blue-blind)
#366796
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7304ff;
/* rgb */ color: rgb(115, 4, 255);
/* oklch */ color: oklch(51.8% 0.292 289.6);
Tailwind
colors: {
  custom: {
    50: '#ab66ff',
    500: '#7304ff',
    950: '#000000',
  },
}
SCSS
$custom: #7304ff;
$custom-light: #ab66ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7304ff",
  "rgb": {
    "r": 115,
    "g": 4,
    "b": 255
  },
  "hsl": {
    "h": 266.534,
    "s": 100,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51758,
    "c": 0.29208,
    "h": 289.6
  },
  "luminance": 0.10952
}

Semantic roles & 50–950 ramp

primary
#7304FF
secondary
#B6E778
accent
#FF29A0
background
#FBF6FF
surface
#F6ECFF
border
#D0C7D7
text
#120718
muted
#817A86

Preview Lab

Preview with #7304FF

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

Preview Lab → · Contrast checker → · Palette generator →

#7304FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva