#7314B2#7314B2

#7314B2 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.8% C 0.219 H 305.4°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#7314B2
RGBrgb(115, 20, 178)
HSLhsl(276, 80%, 39%)
HSVhsv(276, 89%, 70%)
CMYKcmyk(35.4%, 88.8%, 0%, 30.2%)
CIE-LABlab(32.61, 62.78, -62.60)
CIE-LCHlch(32.61, 88.66, 315.08°)
OKLaboklab(44.83% 0.1268 -0.1786)
OKLCHoklch(44.83% 0.219 305.4)
XYZxyz(15.3544, 7.3596, 42.7225)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7314B2 #53B214
analogous
#2414B2 #7314B2 #B214A2
triadic
#7314B2 #B27314 #14B273
tetradic
#7314B2 #B22414 #53B214 #14A2B2
square
#7314B2 #B22414 #53B214 #14A2B2
split-complementary
#7314B2 #A2B214 #14B224
monochromatic
#2C0844 #4F0E7B #7314B2 #961EE6 #B055EC

Accessibility & contrast

On white

8.50
#7314B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7314B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7314B2
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7314B2#FFFFFF#000000##FFFFFF
##7314B21.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB6
Deuteranopia (green-blind)
#004DAF
Tritanopia (blue-blind)
#674569
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7314b2;
/* rgb */ color: rgb(115, 20, 178);
/* oklch */ color: oklch(44.8% 0.219 305.4);
Tailwind
colors: {
  custom: {
    50: '#a263ca',
    500: '#7314b2',
    950: '#000000',
  },
}
SCSS
$custom: #7314b2;
$custom-light: #a263ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7314b2",
  "rgb": {
    "r": 115,
    "g": 20,
    "b": 178
  },
  "hsl": {
    "h": 276.076,
    "s": 79.798,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44829,
    "c": 0.21903,
    "h": 305.4
  },
  "luminance": 0.0736
}

Semantic roles & 50–950 ramp

primary
#7314B2
secondary
#84CE53
accent
#F63280
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7314B2

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

Preview Lab → · Contrast checker → · Palette generator →

#7314B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva