#7230AF#7230AF

#7230AF is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.8% C 0.191 H 303.4°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7230AF
RGBrgb(114, 48, 175)
HSLhsl(271, 57%, 44%)
HSVhsv(271, 73%, 69%)
CMYKcmyk(34.9%, 72.6%, 0%, 31.4%)
CIE-LABlab(35.57, 52.25, -56.00)
CIE-LCHlch(35.57, 76.58, 313.01°)
OKLaboklab(46.79% 0.1052 -0.1594)
OKLCHoklch(46.79% 0.191 303.4)
XYZxyz(15.7324, 8.7865, 41.4163)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7230AF #6DAF30
analogous
#3230AF #7230AF #AF30AC
triadic
#7230AF #AF7230 #30AF72
tetradic
#7230AF #AF3230 #6DAF30 #30ACAF
square
#7230AF #AF3230 #6DAF30 #30ACAF
split-complementary
#7230AF #ACAF30 #30AF32
monochromatic
#33164F #53237F #7230AF #914ECE #AF7EDC

Accessibility & contrast

On white

7.62
#7230AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7230AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7230AF#FFFFFF#000000##FFFFFF
##7230AF1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#664F6D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7230af;
/* rgb */ color: rgb(114, 48, 175);
/* oklch */ color: oklch(46.8% 0.191 303.4);
Tailwind
colors: {
  custom: {
    50: '#a06ec8',
    500: '#7230af',
    950: '#000000',
  },
}
SCSS
$custom: #7230af;
$custom-light: #a06ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#7230af",
  "rgb": {
    "r": 114,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 271.181,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46787,
    "c": 0.191,
    "h": 303.4
  },
  "luminance": 0.08786
}

Semantic roles & 50–950 ramp

primary
#7230AF
secondary
#9CC476
accent
#E04891
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7230AF

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

Preview Lab → · Contrast checker → · Palette generator →

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