#7235AF#7235AF

#7235AF is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.4% C 0.185 H 302.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7235AF
RGBrgb(114, 53, 175)
HSLhsl(270, 54%, 45%)
HSVhsv(270, 70%, 69%)
CMYKcmyk(34.9%, 69.7%, 0%, 31.4%)
CIE-LABlab(36.40, 49.91, -54.65)
CIE-LCHlch(36.40, 74.01, 312.41°)
OKLaboklab(47.38% 0.1 -0.1555)
OKLCHoklch(47.38% 0.185 302.8)
XYZxyz(15.9486, 9.2187, 41.4883)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7235AF #72AF35
analogous
#3535AF #7235AF #AF35AF
triadic
#7235AF #AF7235 #35AF72
tetradic
#7235AF #AF3535 #72AF35 #35AFAF
square
#7235AF #AF3535 #72AF35 #35AFAF
split-complementary
#7235AF #AFAF35 #35AF35
monochromatic
#351951 #532780 #7235AF #9156CC #AF85DA

Accessibility & contrast

On white

7.38
#7235AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7235AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7235AF#FFFFFF#000000##FFFFFF
##7235AF1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#66516E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7235af;
/* rgb */ color: rgb(114, 53, 175);
/* oklch */ color: oklch(47.4% 0.185 302.8);
Tailwind
colors: {
  custom: {
    50: '#a071c8',
    500: '#7235af',
    950: '#000000',
  },
}
SCSS
$custom: #7235af;
$custom-light: #a071c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7235af",
  "rgb": {
    "r": 114,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 270,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47379,
    "c": 0.1849,
    "h": 302.8
  },
  "luminance": 0.09219
}

Semantic roles & 50–950 ramp

primary
#7235AF
secondary
#A0C47C
accent
#DD4B94
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7235AF

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

Preview Lab → · Contrast checker → · Palette generator →

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