#7230AA#7230AA

#7230AA is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.186 H 304.8°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#7230AA
RGBrgb(114, 48, 170)
HSLhsl(272, 56%, 43%)
HSVhsv(272, 72%, 67%)
CMYKcmyk(32.9%, 71.8%, 0%, 33.3%)
CIE-LABlab(35.19, 51.05, -53.63)
CIE-LCHlch(35.19, 74.04, 313.59°)
OKLaboklab(46.4% 0.1061 -0.1525)
OKLCHoklch(46.4% 0.186 304.8)
XYZxyz(15.2504, 8.5937, 38.8777)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7230AA #68AA30
analogous
#3530AA #7230AA #AA30A5
triadic
#7230AA #AA7230 #30AA72
tetradic
#7230AA #AA3530 #68AA30 #30A5AA
square
#7230AA #AA3530 #68AA30 #30A5AA
split-complementary
#7230AA #A5AA30 #30AA35
monochromatic
#32154B #52237A #7230AA #914BCC #AE7BDA

Accessibility & contrast

On white

7.72
#7230AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7230AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7230AA#FFFFFF#000000##FFFFFF
##7230AA1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#684D6A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7230aa;
/* rgb */ color: rgb(114, 48, 170);
/* oklch */ color: oklch(46.4% 0.186 304.8);
Tailwind
colors: {
  custom: {
    50: '#9f6ec4',
    500: '#7230aa',
    950: '#000000',
  },
}
SCSS
$custom: #7230aa;
$custom-light: #9f6ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#7230aa",
  "rgb": {
    "r": 114,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 272.459,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46398,
    "c": 0.18573,
    "h": 304.8
  },
  "luminance": 0.08594
}

Semantic roles & 50–950 ramp

primary
#7230AA
secondary
#98C274
accent
#DF498E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7230AA

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

Preview Lab → · Contrast checker → · Palette generator →

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