#7230AB#7230AB

#7230AB is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.187 H 304.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#7230AB
RGBrgb(114, 48, 171)
HSLhsl(272, 56%, 43%)
HSVhsv(272, 72%, 67%)
CMYKcmyk(33.3%, 71.9%, 0%, 32.9%)
CIE-LABlab(35.27, 51.29, -54.10)
CIE-LCHlch(35.27, 74.55, 313.47°)
OKLaboklab(46.48% 0.1059 -0.1539)
OKLCHoklch(46.48% 0.187 304.5)
XYZxyz(15.3454, 8.6317, 39.3778)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7230AB #69AB30
analogous
#3430AB #7230AB #AB30A6
triadic
#7230AB #AB7230 #30AB72
tetradic
#7230AB #AB3430 #69AB30 #30A6AB
square
#7230AB #AB3430 #69AB30 #30A6AB
split-complementary
#7230AB #A6AB30 #30AB34
monochromatic
#32154B #52237B #7230AB #914CCD #AE7BDA

Accessibility & contrast

On white

7.70
#7230AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##7230AB#FFFFFF#000000##FFFFFF
##7230AB1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#674D6A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7230ab;
/* rgb */ color: rgb(114, 48, 171);
/* oklch */ color: oklch(46.5% 0.187 304.5);
Tailwind
colors: {
  custom: {
    50: '#9f6ec5',
    500: '#7230ab',
    950: '#000000',
  },
}
SCSS
$custom: #7230ab;
$custom-light: #9f6ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#7230ab",
  "rgb": {
    "r": 114,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 272.195,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46475,
    "c": 0.18679,
    "h": 304.5
  },
  "luminance": 0.08632
}

Semantic roles & 50–950 ramp

primary
#7230AB
secondary
#99C374
accent
#DF488E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7230AB

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

Preview Lab → · Contrast checker → · Palette generator →

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