#7230A5#7230A5

#7230A5 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.180 H 306.3°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7230A5
RGBrgb(114, 48, 165)
HSLhsl(274, 55%, 42%)
HSVhsv(274, 71%, 65%)
CMYKcmyk(30.9%, 70.9%, 0%, 35.3%)
CIE-LABlab(34.82, 49.87, -51.23)
CIE-LCHlch(34.82, 71.49, 314.23°)
OKLaboklab(46.02% 0.1068 -0.1454)
OKLCHoklch(46.02% 0.18 306.3)
XYZxyz(14.7864, 8.4081, 36.4340)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7230A5 #63A530
analogous
#3730A5 #7230A5 #A5309E
triadic
#7230A5 #A57230 #30A572
tetradic
#7230A5 #A53730 #63A530 #309EA5
square
#7230A5 #A53730 #63A530 #309EA5
split-complementary
#7230A5 #9EA530 #30A537
monochromatic
#301446 #512276 #7230A5 #9148CA #AE78D8

Accessibility & contrast

On white

7.83
#7230A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7230A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7230A5
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7230A5#FFFFFF#000000##FFFFFF
##7230A51.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#0552A3
Tritanopia (blue-blind)
#694B67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7230a5;
/* rgb */ color: rgb(114, 48, 165);
/* oklch */ color: oklch(46.0% 0.180 306.3);
Tailwind
colors: {
  custom: {
    50: '#9f6ec0',
    500: '#7230a5',
    950: '#000000',
  },
}
SCSS
$custom: #7230a5;
$custom-light: #9f6ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#7230a5",
  "rgb": {
    "r": 114,
    "g": 48,
    "b": 165
  },
  "hsl": {
    "h": 273.846,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46017,
    "c": 0.18045,
    "h": 306.3
  },
  "luminance": 0.08408
}

Semantic roles & 50–950 ramp

primary
#7230A5
secondary
#93C071
accent
#DE4A8A
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7230A5

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

Preview Lab → · Contrast checker → · Palette generator →

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