#7230AC#7230AC

#7230AC is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.6% C 0.188 H 304.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#7230AC
RGBrgb(114, 48, 172)
HSLhsl(272, 56%, 43%)
HSVhsv(272, 72%, 67%)
CMYKcmyk(33.7%, 72.1%, 0%, 32.5%)
CIE-LABlab(35.34, 51.53, -54.58)
CIE-LCHlch(35.34, 75.06, 313.35°)
OKLaboklab(46.55% 0.1057 -0.1553)
OKLCHoklch(46.55% 0.188 304.2)
XYZxyz(15.4411, 8.6699, 39.8817)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7230AC #6AAC30
analogous
#3430AC #7230AC #AC30A8
triadic
#7230AC #AC7230 #30AC72
tetradic
#7230AC #AC3430 #6AAC30 #30A8AC
square
#7230AC #AC3430 #6AAC30 #30A8AC
split-complementary
#7230AC #A8AC30 #30AC34
monochromatic
#33154C #52237C #7230AC #914CCD #AE7CDA

Accessibility & contrast

On white

7.68
#7230AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7230AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7230AC#FFFFFF#000000##FFFFFF
##7230AC1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#674E6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7230ac;
/* rgb */ color: rgb(114, 48, 172);
/* oklch */ color: oklch(46.6% 0.188 304.2);
Tailwind
colors: {
  custom: {
    50: '#a06ec6',
    500: '#7230ac',
    950: '#000000',
  },
}
SCSS
$custom: #7230ac;
$custom-light: #a06ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#7230ac",
  "rgb": {
    "r": 114,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 271.935,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46553,
    "c": 0.18784,
    "h": 304.2
  },
  "luminance": 0.0867
}

Semantic roles & 50–950 ramp

primary
#7230AC
secondary
#99C375
accent
#E0488F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7230AC

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

Preview Lab → · Contrast checker → · Palette generator →

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