#7230A4#7230A4

#7230A4 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.9% C 0.179 H 306.6°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#7230A4
RGBrgb(114, 48, 164)
HSLhsl(274, 55%, 42%)
HSVhsv(274, 71%, 64%)
CMYKcmyk(30.5%, 70.7%, 0%, 35.7%)
CIE-LABlab(34.75, 49.63, -50.75)
CIE-LCHlch(34.75, 70.98, 314.36°)
OKLaboklab(45.94% 0.107 -0.144)
OKLCHoklch(45.94% 0.179 306.6)
XYZxyz(14.6958, 8.3718, 35.9565)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7230A4 #62A430
analogous
#3830A4 #7230A4 #A4309C
triadic
#7230A4 #A47230 #30A472
tetradic
#7230A4 #A43830 #62A430 #309CA4
square
#7230A4 #A43830 #62A430 #309CA4
split-complementary
#7230A4 #9CA430 #30A438
monochromatic
#301445 #512275 #7230A4 #9248C9 #AE77D7

Accessibility & contrast

On white

7.85
#7230A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7230A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7230A4
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7230A4#FFFFFF#000000##FFFFFF
##7230A41.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#0952A2
Tritanopia (blue-blind)
#694A66
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7230a4;
/* rgb */ color: rgb(114, 48, 164);
/* oklch */ color: oklch(45.9% 0.179 306.6);
Tailwind
colors: {
  custom: {
    50: '#9f6ec0',
    500: '#7230a4',
    950: '#000000',
  },
}
SCSS
$custom: #7230a4;
$custom-light: #9f6ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#7230a4",
  "rgb": {
    "r": 114,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 274.138,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45942,
    "c": 0.1794,
    "h": 306.6
  },
  "luminance": 0.08372
}

Semantic roles & 50–950 ramp

primary
#7230A4
secondary
#92BF70
accent
#DE4A8A
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7230A4

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

Preview Lab → · Contrast checker → · Palette generator →

#7230A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva