#7235AA#7235AA

#7235AA is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.0% C 0.179 H 304.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#7235AA
RGBrgb(114, 53, 170)
HSLhsl(271, 52%, 44%)
HSVhsv(271, 69%, 67%)
CMYKcmyk(32.9%, 68.8%, 0%, 33.3%)
CIE-LABlab(36.03, 48.69, -52.26)
CIE-LCHlch(36.03, 71.43, 312.97°)
OKLaboklab(47% 0.1007 -0.1485)
OKLCHoklch(47% 0.179 304.2)
XYZxyz(15.4666, 9.0259, 38.9498)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7235AA #6DAA35
analogous
#3735AA #7235AA #AA35A7
triadic
#7235AA #AA7235 #35AA72
tetradic
#7235AA #AA3735 #6DAA35 #35A7AA
square
#7235AA #AA3735 #6DAA35 #35A7AA
split-complementary
#7235AA #A7AA35 #35AA37
monochromatic
#33184D #53267B #7235AA #9153C9 #AF82D8

Accessibility & contrast

On white

7.49
#7235AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7235AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7235AA
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7235AA#FFFFFF#000000##FFFFFF
##7235AA1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#0355A8
Tritanopia (blue-blind)
#67506B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7235aa;
/* rgb */ color: rgb(114, 53, 170);
/* oklch */ color: oklch(47.0% 0.179 304.2);
Tailwind
colors: {
  custom: {
    50: '#9f71c4',
    500: '#7235aa',
    950: '#000000',
  },
}
SCSS
$custom: #7235aa;
$custom-light: #9f71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7235aa",
  "rgb": {
    "r": 114,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 271.282,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47,
    "c": 0.17943,
    "h": 304.2
  },
  "luminance": 0.09026
}

Semantic roles & 50–950 ramp

primary
#7235AA
secondary
#9CC17A
accent
#DC4C91
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7235AA

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

Preview Lab → · Contrast checker → · Palette generator →

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