#7230A2#7230A2

#7230A2 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.177 H 307.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#7230A2
RGBrgb(114, 48, 162)
HSLhsl(275, 54%, 41%)
HSVhsv(275, 70%, 64%)
CMYKcmyk(29.6%, 70.4%, 0%, 36.5%)
CIE-LABlab(34.60, 49.16, -49.78)
CIE-LCHlch(34.60, 69.96, 314.64°)
OKLaboklab(45.79% 0.1073 -0.1412)
OKLCHoklch(45.79% 0.177 307.2)
XYZxyz(14.5166, 8.3001, 35.0128)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7230A2 #60A230
analogous
#3930A2 #7230A2 #A23099
triadic
#7230A2 #A27230 #30A272
tetradic
#7230A2 #A23930 #60A230 #3099A2
square
#7230A2 #A23930 #60A230 #3099A2
split-complementary
#7230A2 #99A230 #30A239
monochromatic
#301444 #512273 #7230A2 #9247C8 #AE76D6

Accessibility & contrast

On white

7.89
#7230A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7230A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7230A2
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7230A2#FFFFFF#000000##FFFFFF
##7230A21.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#0F52A0
Tritanopia (blue-blind)
#6A4A65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7230a2;
/* rgb */ color: rgb(114, 48, 162);
/* oklch */ color: oklch(45.8% 0.177 307.2);
Tailwind
colors: {
  custom: {
    50: '#9f6ebe',
    500: '#7230a2',
    950: '#000000',
  },
}
SCSS
$custom: #7230a2;
$custom-light: #9f6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#7230a2",
  "rgb": {
    "r": 114,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 274.737,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45792,
    "c": 0.17729,
    "h": 307.2
  },
  "luminance": 0.083
}

Semantic roles & 50–950 ramp

primary
#7230A2
secondary
#91BE6F
accent
#DE4A88
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7230A2

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

Preview Lab → · Contrast checker → · Palette generator →

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